From e146453b3109964f59d3ac0f261bbbebc7156232 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Thu, 22 Jun 2023 23:22:57 -0700 Subject: [PATCH] Remove server availability code Not ready for prime time --- components/Layout/index.tsx | 3 ++- pages/_app.tsx | 11 ++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/components/Layout/index.tsx b/components/Layout/index.tsx index 20ffa423..d88b3a18 100644 --- a/components/Layout/index.tsx +++ b/components/Layout/index.tsx @@ -77,7 +77,8 @@ const Layout = ({ children }: PropsWithChildren) => { return ( <> - {appState.version ? ServerAvailable() : ''} + {ServerAvailable()} + {/* {appState.version ? ServerAvailable() : ''} */}
{children}
) diff --git a/pages/_app.tsx b/pages/_app.tsx index d213c926..9dcd7e2f 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() ) : ( - - )} + )} */}