Set class if someone wins
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Manuel Thalmann 2022-12-15 14:21:43 +01:00
parent 30cbc40d38
commit 023c725aae
No known key found for this signature in database
GPG key ID: 5FD9AD3CCDDBD27B

View file

@ -58,6 +58,9 @@ export function App(game)
}
}
},
{
className: `game ${game.winner ? `winner ${game.winner}` : ""}`
},
[
Board,
game.board