mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix : theme provider fix (#1164)
This commit is contained in:
parent
44f8ba407d
commit
857879f5ed
@ -45,12 +45,14 @@ Router.events.on("routeChangeComplete", NProgress.done);
|
|||||||
function MyApp({ Component, pageProps }: AppProps) {
|
function MyApp({ Component, pageProps }: AppProps) {
|
||||||
return (
|
return (
|
||||||
// <UserProvider>
|
// <UserProvider>
|
||||||
<ToastContextProvider>
|
<ThemeProvider themes={THEMES} defaultTheme="light">
|
||||||
<ThemeContextProvider>
|
<ToastContextProvider>
|
||||||
<CrispWithNoSSR />
|
<ThemeContextProvider>
|
||||||
<Component {...pageProps} />
|
<CrispWithNoSSR />
|
||||||
</ThemeContextProvider>
|
<Component {...pageProps} />
|
||||||
</ToastContextProvider>
|
</ThemeContextProvider>
|
||||||
|
</ToastContextProvider>
|
||||||
|
</ThemeProvider>
|
||||||
// </UserProvider>
|
// </UserProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user