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.
This commit is contained in:
openhands
2026-08-29 19:27:13 +02:00
parent 944e8ff1d8
commit 7a41775c7e
136 changed files with 141 additions and 143 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
import { asc, count, eq, inArray } from "drizzle-orm";
import Link from "next/link";
import { notFound, redirect } from "next/navigation";
import { getTranslations } from "next-intl/server";
import { disbandGuild } from "@/actions/admin-guilds";
import Link from "@/components/link";
import { Button } from "@/components/ui/button";
import { db, Guilds, GuildsForumsThreads, GuildsMembers, User } from "@/lib/db";
import { formatDate } from "@/lib/format-date";