Files
EpicNext-Cms/src/components/link.tsx
T
openhands 7a41775c7e fix: disable route prefetching app-wide to avoid spurious requests
Wrap next/link in a shared Link component that ships prefetch=false by
default, so no route is ever prefetched (viewport or hover) anymore, and
drop the DNS prefetch hint. Removes hidden background requests that were
the source of intermittent issues.
2026-08-29 19:27:13 +02:00

7 lines
203 B
TypeScript

import NextLink from "next/link";
import type { ComponentProps } from "react";
export default function Link(props: ComponentProps<typeof NextLink>) {
return <NextLink prefetch={false} {...props} />;
}