From d5764f0067d2f0b94485423cf9361f2d76323446 Mon Sep 17 00:00:00 2001 From: ntr Date: Sun, 27 Oct 2019 14:18:20 +1100 Subject: [PATCH] draw text change --- client/src/components/player.box.jsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/components/player.box.jsx b/client/src/components/player.box.jsx index 9d55606e..6cace8a4 100644 --- a/client/src/components/player.box.jsx +++ b/client/src/components/player.box.jsx @@ -68,11 +68,11 @@ function Scoreboard(args) { }; const winner = player.score === 'Win'; - const chatText = player.draw_offered - ? 'draw?' - : chat || '\u00A0'; - - console.log(chatText); + const chatText = chat + ? chat + : player.draw_offered + ? 'draw' + : '\u00A0'; if (!isPlayer) { const nameClass = `name ${player.img ? 'subscriber' : ''}`;