plane/apps/app/pages/_app.tsx

21 lines
464 B
TypeScript
Raw Normal View History

2022-11-19 14:21:26 +00:00
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;