From de1cab0461664d49aa817329db8a45c445539202 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 17 Oct 2024 06:18:48 -0400 Subject: [PATCH] fix lint errors --- pages/_app.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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) { - )} - ); }