17 lines
423 B
TypeScript
Executable file
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;
|