esolang/pages/_app.tsx
2022-02-03 18:13:22 +05:30

22 lines
696 B
TypeScript

import "../styles/globals.css";
import "../styles/editor.css";
import "../styles/mosaic.scss";
import "@blueprintjs/core/lib/css/blueprint.css";
import "@blueprintjs/icons/lib/css/blueprint-icons.css";
import "react-mosaic-component/react-mosaic-component.css";
import type { AppProps } from "next/app";
import { DarkModeProvider } from "../ui/providers/dark-mode-provider";
import { ErrorBoundaryProvider } from "../ui/providers/error-boundary-provider";
function MyApp({ Component, pageProps }: AppProps) {
return (
<ErrorBoundaryProvider>
<DarkModeProvider>
<Component {...pageProps} />
</DarkModeProvider>
</ErrorBoundaryProvider>
);
}
export default MyApp;