-
+
Game events
-
+
-
+
{[
@@ -42,14 +36,14 @@ export async function GamePage(number: GameNumber, user?: User) {
GameState.configuring,
GameState.launching,
GameState.started,
- ].includes(game.state) && user?.player.roles.includes(PlayerRole.admin) ? (
-
+ ].includes(props.game.state) && props.user?.player.roles.includes(PlayerRole.admin) ? (
+
) : (
<>>
)}