comicbox/pages/_app.tsx

16 lines
387 B
TypeScript
Raw Normal View History

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