Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Coder2195Text committed Nov 20, 2022
1 parent 8b510cf commit 28549d9
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import '../styles/globals.css'
import type { AppProps } from 'next/app'
import { SessionProvider } from "next-auth/react"
import { Session } from 'next-auth'
import "../styles/globals.css";
import type { AppProps } from "next/app";
import { SessionProvider } from "next-auth/react";
import { Session } from "next-auth";

export default function App({ Component, pageProps: { session, ...pageProps } }: AppProps) {
session = session as Session
return (<SessionProvider session={session}>
<Component {...pageProps} />
</SessionProvider>)
export default function App({
Component,
pageProps: { session, ...pageProps },
}: AppProps) {
session = session as Session;
return (
<SessionProvider session={session}>
<Component {...pageProps} />
</SessionProvider>
);
}

1 comment on commit 28549d9

@vercel
Copy link

@vercel vercel bot commented on 28549d9 Nov 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.