Update auth-test.tsx

This commit is contained in:
Steve Ruiz 2021-06-19 18:13:25 +01:00
parent 08126e804e
commit 76008bb8cd

View file

@ -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,
},