Skip to content

Commit cbed60d

Browse files
committed
chore: back to maintenance
1 parent 4dc1f34 commit cbed60d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pages/_app.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) {
5353
}, []);
5454

5555
const getLayout = Component.getLayout ?? ((page) => <Layout>{ page }</Layout>);
56+
const isUnderMaintenance = true;
57+
58+
if (isUnderMaintenance) {
59+
return <div>Under Maintenance</div>;
60+
}
5661

5762
return (
5863
<ChakraProvider cookies={ pageProps.cookies }>

0 commit comments

Comments
 (0)