diff --git a/components/Layout/index.tsx b/components/Layout/index.tsx index 20ffa423..4717da7b 100644 --- a/components/Layout/index.tsx +++ b/components/Layout/index.tsx @@ -77,7 +77,9 @@ const Layout = ({ children }: PropsWithChildren) => { return ( <> - {appState.version ? ServerAvailable() : ''} + {/* {appState.version ? ServerAvailable() : ''} */} + + {updateToast()}
{children}
) diff --git a/pages/_app.tsx b/pages/_app.tsx index d213c926..06cc101b 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -35,6 +35,11 @@ function MyApp({ Component, pageProps }: AppProps) { useEffect(() => () => unsubscribe(), []) + useEffect(() => { + console.log('granblue.team version:') + console.log(appState.version) + }, []) + const accountCookie = getCookie('account') const userCookie = getCookie('user') @@ -130,11 +135,11 @@ function MyApp({ Component, pageProps }: AppProps) { - {!appState.version ? ( + + {/* {!appState.version ? ( serverUnavailable() ) : ( - - )} + )} */}