Update auth-test.tsx
This commit is contained in:
parent
08126e804e
commit
76008bb8cd
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {
|
|||
|
||||
return {
|
||||
props: {
|
||||
isOwner: session.user.email === 'steveruizok@gmail.com',
|
||||
isOwner: session?.user?.email === 'steveruizok@gmail.com',
|
||||
isSponsor,
|
||||
ssrSession: session,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue