tweak prefetch on links

This commit is contained in:
Sara
2023-11-01 17:24:17 +01:00
committed by Mathieu Virbel
parent 1e262ff8b4
commit 3a12ebd7e1
2 changed files with 32 additions and 26 deletions

View File

@@ -118,6 +118,7 @@ export default async function RootLayout({ children, params }: LayoutProps) {
<Link
href="/browse"
className="hover:underline focus-within:underline underline-offset-2 decoration-[.5px] font-light px-2"
prefetch={false}
>
Browse
</Link>