From 7200c3ecd161746ce7aeef9be20b91ab68982744 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Wed, 11 Dec 2024 16:10:32 +0800 Subject: [PATCH] fix: dynamic import disable ssr --- app/(main)/ClientComponents/ServerListClient.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/(main)/ClientComponents/ServerListClient.tsx b/app/(main)/ClientComponents/ServerListClient.tsx index af6e7bc..4426367 100644 --- a/app/(main)/ClientComponents/ServerListClient.tsx +++ b/app/(main)/ClientComponents/ServerListClient.tsx @@ -17,6 +17,7 @@ import useSWR from "swr"; import GlobalLoading from "./GlobalLoading"; const ServerGlobal = dynamic(() => import("./Global"), { + ssr: false, loading: () => , });