Skip to content

Commit a3af3e9

Browse files
committed
use regular link
1 parent 989e0de commit a3af3e9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/landing/Navbar.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import Link from '@docusaurus/Link';
21
import { MenuIcon, XIcon } from 'lucide-react';
32
import React, { Fragment, ReactNode } from 'react';
43
import { ButtonLink } from './SharedComponents';
@@ -236,7 +235,7 @@ function NavLink({
236235
target?: '_blank' | '_self';
237236
}) {
238237
return (
239-
<Link
238+
<a
240239
href={href}
241240
className={classNames(
242241
isCurrent
@@ -248,7 +247,7 @@ function NavLink({
248247
target={target}
249248
>
250249
{children}
251-
</Link>
250+
</a>
252251
);
253252
}
254253

0 commit comments

Comments
 (0)