mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
9737b80dcb
* fix: modules mutation, updated dummy content * fix: 404 page * feat: added plausible script * feat: added plausible to doc
26 lines
715 B
TypeScript
26 lines
715 B
TypeScript
import "../styles/globals.css";
|
|
import "styles/editor.css";
|
|
import type { AppProps } from "next/app";
|
|
|
|
// context
|
|
import { UserProvider } from "contexts/user.context";
|
|
import { ToastContextProvider } from "contexts/toast.context";
|
|
import { ThemeContextProvider } from "contexts/theme.context";
|
|
|
|
function MyApp({ Component, pageProps }: AppProps) {
|
|
return (
|
|
<>
|
|
<UserProvider>
|
|
<ToastContextProvider>
|
|
<ThemeContextProvider>
|
|
<Component {...pageProps} />
|
|
</ThemeContextProvider>
|
|
</ToastContextProvider>
|
|
</UserProvider>
|
|
<script defer data-domain="app.plane.so" src="https://plausible.io/js/script.js"></script>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default MyApp;
|