diff --git a/app/[locale]/(main)/page.tsx b/app/[locale]/(main)/page.tsx index 09dc390..1c3f65e 100644 --- a/app/[locale]/(main)/page.tsx +++ b/app/[locale]/(main)/page.tsx @@ -1,31 +1,13 @@ import ServerList from "../../../components/ServerList"; import ServerOverview from "../../../components/ServerOverview"; -import getEnv from "../../../lib/env-entry"; -import { GetNezhaData } from "../../../lib/serverFetch"; -import { SWRConfig } from "swr"; export const runtime = 'edge'; - -const disablePrefetch = getEnv("ServerDisablePrefetch") === "true"; -const fallback = disablePrefetch - ? {} - : { - "/api/server": GetNezhaData(), - }; - - export default function Home() { return ( - -
- - -
-
+
+ + +
); }