ソースを参照

Update auth-test.tsx

main
Steve Ruiz 4年前
コミット
eb53e385f1
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      pages/auth-test.tsx

+ 1
- 1
pages/auth-test.tsx ファイルの表示

@@ -67,7 +67,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {
67 67
     console.log(
68 68
       JSON.stringify({
69 69
         user: session.user,
70
-        sponsors: sponsors,
70
+        sponsors: sponsors.map((sponsor: any) => sponsor.avatar),
71 71
         isSponsor: sponsor !== undefined,
72 72
       })
73 73
     )

読み込み中…
キャンセル
保存