diff --git a/client/src/components/Guess.tsx b/client/src/components/Guess.tsx index 24f80ce..cc9dd4e 100644 --- a/client/src/components/Guess.tsx +++ b/client/src/components/Guess.tsx @@ -13,13 +13,6 @@ const Guess = ({sendJsonMessage, players, answers, currentPlayerId, playerId, pr setGuesses(copy); } - let disabled = true; - for (let guess of guesses) { - if (guess !== "none") { - disabled = false; - } - } - const pickingPlayer = players.find((player:Player) => player.id === currentPlayerId); const isPicking = playerId === currentPlayerId; const playersWithoutSelf = players.filter((player:Player) => player.id !== playerId); @@ -60,7 +53,7 @@ const Guess = ({sendJsonMessage, players, answers, currentPlayerId, playerId, pr