import { SessionProvider } from "next-auth/react" ; import type { AppProps } from "next/app" ; import "./styles.css" ; export default function App ( { Component , pageProps } ) { return ( < SessionProvider session = { pageProps . session } > < Component { ... pageProps } / > < /SessionProvider>); }