misc: fix compiler error
This commit is contained in:
6
.eslintrc.json
Normal file
6
.eslintrc.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"extends": [
|
||||||
|
"next/core-web-vitals",
|
||||||
|
"next/typescript"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -443,7 +443,7 @@ export default function SpectatePage() {
|
|||||||
player1: game.player1,
|
player1: game.player1,
|
||||||
player2: game.player2,
|
player2: game.player2,
|
||||||
currentTurnColor: game.result ? null : game.currentTurnColor,
|
currentTurnColor: game.result ? null : game.currentTurnColor,
|
||||||
resultKind: game.result?.kind ?? null,
|
resultKind: null,
|
||||||
status: game.result ? "completed" : "live",
|
status: game.result ? "completed" : "live",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user