do not prefetch

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-04-17 11:44:54 +02:00
committed by Carl-Gerhard Lindesvärd
parent 694f5bf622
commit 3a9fcf4915
13 changed files with 16 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ function LinkWithIcon({
const active = overrideActive || href === pathname;
return (
<Link
prefetch={false}
className={cn(
'text-text flex items-center gap-2 rounded-md px-3 py-2 text-sm font-medium leading-none transition-all transition-colors hover:bg-slate-100',
active && 'bg-slate-100',