Set class if someone wins
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
30cbc40d38
commit
023c725aae
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ export function App(game)
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
className: `game ${game.winner ? `winner ${game.winner}` : ""}`
|
||||
},
|
||||
[
|
||||
Board,
|
||||
game.board
|
||||
|
|
Loading…
Reference in a new issue