From 980e0ebbcff5bbb9d27394dcb4ba6f61980418b0 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 21 Feb 2021 10:30:33 +0100 Subject: hide new game dialog while looking for game + gamebar move works --- components/gameBar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'components') diff --git a/components/gameBar.tsx b/components/gameBar.tsx index b1e6a2d..a2ced12 100644 --- a/components/gameBar.tsx +++ b/components/gameBar.tsx @@ -28,6 +28,7 @@ var GameBarAlignStyle: CSSProperties = { export function GameBar(props: { turn: boolean; + player1: boolean; }) { return { props.turn ? "Jouw beurt" : "Tegenstander" } + }}>{ props.turn == props.player1 ? "Jouw beurt" : "Tegenstander" }