comicbox/pages/_app.tsx
2022-07-25 18:31:20 +01:00

17 lines
423 B
TypeScript
Executable file

import '../styles/globals.css';
import type { AppProps } from 'next/app';
import { SessionProvider } from 'next-auth/react';
import NavBar from '../components/NavBar';
function MyApp({ Component, pageProps }: AppProps) {
return (
<>
<SessionProvider>
<NavBar />
<Component {...pageProps} />
</SessionProvider>
</>
);
}
export default MyApp;