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 { signIn, signOut, getSession, useSession } from 'next-auth/client'
|
||||||
import { GetServerSidePropsContext } from 'next'
|
import { GetServerSidePropsContext } from 'next'
|
||||||
|
|
||||||
export default function Home({
|
export default function Home() {
|
||||||
ssrSession,
|
|
||||||
isOwner,
|
|
||||||
isSponsor,
|
|
||||||
}: {
|
|
||||||
isOwner: boolean
|
|
||||||
isSponsor: boolean
|
|
||||||
ssrSession: any
|
|
||||||
}) {
|
|
||||||
const [session, loading] = useSession()
|
const [session, loading] = useSession()
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue