Skip to content

Commit 64d7ed7

Browse files
authored
refactor: use MPA (SPA bug stacks pages on safari) (#1120)
1 parent f5b3f17 commit 64d7ed7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/website/src/components/navigation-docs/navigation-docs.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PropsOf, component$ } from '@builder.io/qwik';
2-
import { Link, useLocation } from '@builder.io/qwik-city';
2+
import { useLocation } from '@builder.io/qwik-city';
33
import { ComponentStatus } from '~/_state/component-status.type';
44
import { StatusBadge } from '../component-status-badge/component-status-badge';
55
import { cn } from '@qwik-ui/utils';
@@ -60,7 +60,7 @@ export const DocsNavigation = component$(
6060
const isLinkActive = location.url.pathname === link.href;
6161
return (
6262
<li key={link.name + link.href}>
63-
<Link
63+
<a
6464
class={cn(
6565
buttonVariants({ look: 'ghost' }),
6666
'flex h-10 items-center rounded-base font-sans',
@@ -78,7 +78,7 @@ export const DocsNavigation = component$(
7878
<div>{link.name}</div>
7979
{link.status && <StatusBadge status={link.status} />}
8080
</div>
81-
</Link>
81+
</a>
8282
</li>
8383
);
8484
})}

0 commit comments

Comments
 (0)