comicbox/pages/_app.tsx

18 lines
423 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) {
2022-07-25 17:31:20 +00:00
return (
<>
<SessionProvider>
<NavBar />
<Component {...pageProps} />
</SessionProvider>
</>
);
2022-07-19 20:32:51 +00:00
}
export default MyApp;