14 lines
366 B
JavaScript
14 lines
366 B
JavaScript
import "../styles/globals.css";
|
|
import { SessionProvider } from "next-auth/react";
|
|
import { Alert } from "../components/alert";
|
|
|
|
function MyApp({ Component, pageProps: { session, ...pageProps } }) {
|
|
return (
|
|
<SessionProvider session={session}>
|
|
<Alert fade={true} />
|
|
<Component {...pageProps} />
|
|
</SessionProvider>
|
|
);
|
|
}
|
|
|
|
export default MyApp;
|