AykutSarac пре 3 година
родитељ
комит
d6ddcd31fd
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      src/pages/_app.tsx

+ 3 - 2
src/pages/_app.tsx

@@ -25,12 +25,13 @@ function AykutSarac({ Component, pageProps }: AppProps) {
 
   if (pageLoading)
     return (
-      <>
+      <ThemeProvider theme={darkTheme}>
+        <GlobalStyle />
         <Head>
           <title>Loading... | JSON Visio</title>
         </Head>
         <Loading />
-      </>
+      </ThemeProvider>
     );
 
   return (