We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62933cb commit 22f6268Copy full SHA for 22f6268
src/shared/ui/translation-banner/index.tsx
@@ -1,5 +1,4 @@
1
import React from "react";
2
-import Link from "@docusaurus/Link";
3
import { useLocation } from "@docusaurus/router";
4
import { translate } from "@docusaurus/Translate";
5
@@ -11,9 +10,9 @@ export const Banner: React.FC = () => {
11
10
return (
12
<div>
13
{translate({ id: "shared.translationBanner.base" })}
14
- <Link autoAddBaseUrl={false} to={canonicalPath}>
+ <a href={canonicalPath}>
15
{translate({ id: "shared.translationBanner.link" })}
16
- </Link>
+ </a>
17
.
18
</div>
19
);
0 commit comments