Update auth-test.tsx
This commit is contained in:
parent
6729435696
commit
82a1306013
1 changed files with 6 additions and 0 deletions
|
@ -64,6 +64,12 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {
|
|||
(sponsor: { avatar: string }) => sponsor.avatar === session.user.image
|
||||
)
|
||||
|
||||
console.log(
|
||||
session?.user?.image,
|
||||
sponsors.map((sponsor) => sponsor.avatar),
|
||||
sponsor
|
||||
)
|
||||
|
||||
isSponsor = sponsor !== undefined
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue