mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: dynamic import disable ssr
This commit is contained in:
parent
452b045e14
commit
7200c3ecd1
@ -17,6 +17,7 @@ import useSWR from "swr";
|
||||
import GlobalLoading from "./GlobalLoading";
|
||||
|
||||
const ServerGlobal = dynamic(() => import("./Global"), {
|
||||
ssr: false,
|
||||
loading: () => <GlobalLoading />,
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user