Skip to content

Commit

Permalink
fix: remove prefetch on homepage link
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierniki committed Oct 6, 2023
1 parent f21cedd commit 1562c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function Navigation({ locale }: NavigationProps) {
return (
<>
<div className="flex w-full items-center justify-between gap-5 pr-4">
<Link href={`/${locale}/`} hrefLang={locale}>
<Link href={`/${locale}/`} hrefLang={locale} prefetch={false}>
<Image src={logo.url} width={100} height={20} alt="logo" className="" />
</Link>
<ul className="flex items-center gap-5 sm:flex-wrap">
Expand Down

0 comments on commit 1562c8b

Please sign in to comment.