Update auth-test.tsx
This commit is contained in:
parent
2c61afd628
commit
2a96a587e2
1 changed files with 1 additions and 9 deletions
|
@ -2,15 +2,7 @@ import Head from 'next/head'
|
|||
import { signIn, signOut, getSession, useSession } from 'next-auth/client'
|
||||
import { GetServerSidePropsContext } from 'next'
|
||||
|
||||
export default function Home({
|
||||
ssrSession,
|
||||
isOwner,
|
||||
isSponsor,
|
||||
}: {
|
||||
isOwner: boolean
|
||||
isSponsor: boolean
|
||||
ssrSession: any
|
||||
}) {
|
||||
export default function Home() {
|
||||
const [session, loading] = useSession()
|
||||
return (
|
||||
<>
|
||||
|
|
Loading…
Reference in a new issue