mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
24 lines
605 B
TypeScript
24 lines
605 B
TypeScript
// styles
|
|
import "styles/globals.css";
|
|
import "styles/editor.css";
|
|
// contexts
|
|
import { UserProvider } from "contexts/user.context";
|
|
import { ToastContextProvider } from "contexts/toast.context";
|
|
import { ThemeContextProvider } from "contexts/theme.context";
|
|
// types
|
|
import type { AppProps } from "next/app";
|
|
|
|
function MyApp({ Component, pageProps }: AppProps) {
|
|
return (
|
|
<UserProvider>
|
|
<ToastContextProvider>
|
|
<ThemeContextProvider>
|
|
<Component {...pageProps} />
|
|
</ThemeContextProvider>
|
|
</ToastContextProvider>
|
|
</UserProvider>
|
|
);
|
|
}
|
|
|
|
export default MyApp;
|