Skip to content

Commit

Permalink
Disable prefetching
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Aug 22, 2024
1 parent 40eaaf9 commit faa520d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apps/web/src/components/link.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import Link from "next/link";
import { default as L } from "next/link";
import type { ComponentProps } from "react";

export default Link;
export default function Link(props: ComponentProps<typeof L>) {
return <L prefetch={false} {...props} />;
}

0 comments on commit faa520d

Please sign in to comment.