Browse Source

Update auth-test.tsx

main
Steve Ruiz 4 years ago
parent
commit
2a96a587e2
1 changed files with 1 additions and 9 deletions
  1. 1
    9
      pages/auth-test.tsx

+ 1
- 9
pages/auth-test.tsx View File

@@ -2,15 +2,7 @@ import Head from 'next/head'
2 2
 import { signIn, signOut, getSession, useSession } from 'next-auth/client'
3 3
 import { GetServerSidePropsContext } from 'next'
4 4
 
5
-export default function Home({
6
-  ssrSession,
7
-  isOwner,
8
-  isSponsor,
9
-}: {
10
-  isOwner: boolean
11
-  isSponsor: boolean
12
-  ssrSession: any
13
-}) {
5
+export default function Home() {
14 6
   const [session, loading] = useSession()
15 7
   return (
16 8
     <>

Loading…
Cancel
Save