2022-07-25 17:22:59 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2022-07-25 17:22:59 +00:00
|
|
|
export default MyApp;
|