Skip to content

Commit

Permalink
Use link component instead of a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ndv99 committed Oct 13, 2023
1 parent 954b1c1 commit 7405edd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/app/base/components/StatusBar/StatusBar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ReactNode } from "react";

import { Button } from "@canonical/react-components";
import { Button, Link } from "@canonical/react-components";
import { useSelector } from "react-redux";

import { useUsabilla } from "app/base/hooks";
Expand Down Expand Up @@ -100,22 +100,22 @@ export const StatusBar = (): JSX.Element | null => {
</div>
<ul className="p-inline-list--middot u-no-margin--bottom">
<li className="p-inline-list__item">
<a
<Link
href={`${process.env.REACT_APP_BASENAME}/docs/`}
rel="noreferrer"
target="_blank"
>
Local documentation
</a>
</Link>
</li>
<li className="p-inline-list__item">
<a
<Link
href="https://www.ubuntu.com/legal"
rel="noreferrer"
target="_blank"
>
Legal information
</a>
</Link>
</li>
{allowUsabilla ? (
<li className="p-inline-list__item">
Expand Down

0 comments on commit 7405edd

Please sign in to comment.