diff --git a/pages/_app.tsx b/pages/_app.tsx index 2352f69404..1a2af2dee7 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -43,7 +43,6 @@ const ERROR_SCREEN_STYLES: ChakraProps = { }; function MyApp({ Component, pageProps }: AppPropsWithLayout) { - useLoadFeatures(); useNotifyOnNavigation(); @@ -55,11 +54,14 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) { const getLayout = Component.getLayout ?? ((page) => { page }); const isUnderMaintenance = true; + + if (isUnderMaintenance) { + return
Under Maintenance
; + } + return ( - <> - { isUnderMaintenance ?
Under Maintenance
: ( - - + @@ -82,8 +84,6 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) { - )} - ); }