|
|
@@ -269,12 +269,12 @@ export function Home() {
|
|
|
useHtmlLang();
|
|
|
|
|
|
useEffect(() => {
|
|
|
- console.log("[Config] got config from build time", getClientConfig());
|
|
|
+ // console.log("[Config] got config from build time", getClientConfig());
|
|
|
useAccessStore.getState().fetch();
|
|
|
}, []);
|
|
|
|
|
|
- if (!useHasHydrated()) {// 防止两次loading效果
|
|
|
- // return <Loading />;
|
|
|
+ if (!useHasHydrated()) {
|
|
|
+ return <Loading />;
|
|
|
}
|
|
|
|
|
|
return (
|