diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..6b10a5b --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,6 @@ +{ + "extends": [ + "next/core-web-vitals", + "next/typescript" + ] +} diff --git a/app/spectate/page.tsx b/app/spectate/page.tsx index 0720ce9..b330375 100644 --- a/app/spectate/page.tsx +++ b/app/spectate/page.tsx @@ -443,7 +443,7 @@ export default function SpectatePage() { player1: game.player1, player2: game.player2, currentTurnColor: game.result ? null : game.currentTurnColor, - resultKind: game.result?.kind ?? null, + resultKind: null, status: game.result ? "completed" : "live", }); }