From c0eb1821d4c98796d7fd44954b62c335d120cdc1 Mon Sep 17 00:00:00 2001 From: ntr Date: Tue, 5 Nov 2019 16:52:15 +1100 Subject: [PATCH 1/2] hex points for score squares --- client/src/components/player.box.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/player.box.jsx b/client/src/components/player.box.jsx index 6cace8a4..c9e3baf5 100644 --- a/client/src/components/player.box.jsx +++ b/client/src/components/player.box.jsx @@ -60,10 +60,10 @@ function Scoreboard(args) { } = args; const scoreText = () => { - if (player.score === 'Zero' || player.score === 'Lose') return [, , ]; - if (player.score === 'One') return [, , ]; - if (player.score === 'Two') return [, , ]; - if (player.score === 'Win') return [, , ]; + if (player.score === 'Zero' || player.score === 'Lose') return [, , ]; + if (player.score === 'One') return [, , ]; + if (player.score === 'Two') return [, , ]; + if (player.score === 'Win') return [, , ]; return ''; }; From 73220211bb31297d4d2d7412ade6eb4cdbef4882 Mon Sep 17 00:00:00 2001 From: ntr Date: Tue, 5 Nov 2019 16:57:12 +1100 Subject: [PATCH 2/2] fix squares --- client/src/components/player.box.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/player.box.jsx b/client/src/components/player.box.jsx index c9e3baf5..f4f0908f 100644 --- a/client/src/components/player.box.jsx +++ b/client/src/components/player.box.jsx @@ -61,9 +61,9 @@ function Scoreboard(args) { const scoreText = () => { if (player.score === 'Zero' || player.score === 'Lose') return [, , ]; - if (player.score === 'One') return [, , ]; - if (player.score === 'Two') return [, , ]; - if (player.score === 'Win') return [, , ]; + if (player.score === 'One') return [, , ]; + if (player.score === 'Two') return [, , ]; + if (player.score === 'Win') return [, , ]; return ''; };