plane/apps/app/pages/_app.tsx

21 lines
464 B
TypeScript

import "../styles/globals.css";
import "styles/editor.css";
import type { AppProps } from "next/app";
import GlobalContextProvider from "contexts/globalContextProvider";
import CommandPalette from "components/command-palette";
function MyApp({ Component, pageProps }: AppProps) {
return (
<GlobalContextProvider>
<>
<CommandPalette />
<Component {...pageProps} />
</>
</GlobalContextProvider>
);
}
export default MyApp;