fix : theme provider fix (#1164)

This commit is contained in:
Anmol Singh Bhatia 2023-06-01 14:40:27 +05:30 committed by GitHub
parent 44f8ba407d
commit 857879f5ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,12 +45,14 @@ Router.events.on("routeChangeComplete", NProgress.done);
function MyApp({ Component, pageProps }: AppProps) {
return (
// <UserProvider>
<ToastContextProvider>
<ThemeContextProvider>
<CrispWithNoSSR />
<Component {...pageProps} />
</ThemeContextProvider>
</ToastContextProvider>
<ThemeProvider themes={THEMES} defaultTheme="light">
<ToastContextProvider>
<ThemeContextProvider>
<CrispWithNoSSR />
<Component {...pageProps} />
</ThemeContextProvider>
</ToastContextProvider>
</ThemeProvider>
// </UserProvider>
);
}