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
|
@ -58,6 +58,9 @@ export function App(game)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
className: `game ${game.winner ? `winner ${game.winner}` : ""}`
|
||||||
|
},
|
||||||
[
|
[
|
||||||
Board,
|
Board,
|
||||||
game.board
|
game.board
|
||||||
|
|
Loading…
Reference in a new issue