diff --git a/pages/_app.tsx b/pages/_app.tsx index 3587c96..7535b02 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -242,6 +242,7 @@ function App ({ pageProps, Component }: AppProps) { const { colorScheme, toggleColorScheme } = useMantineColorScheme() const theme = useMantineTheme() const isMounted = useMounted() + const isBrowser = typeof window !== 'undefined' return ( <> @@ -326,6 +327,9 @@ export default function AppWrapper ({ Component, pageProps }: AppProps) { + {process.browser && } + {process.browser && } +