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;
