diff --git a/api/business/room/room.go b/api/business/room/room.go index 97ba5a3..c5faeac 100644 --- a/api/business/room/room.go +++ b/api/business/room/room.go @@ -188,7 +188,7 @@ func (room *Room) readMessage(client *user.Connection) { for { _, message, err := client.ReadMessage() if err != nil { - log.Printf("error: %v \nclient: %v", err, client.Username) + log.Printf("Client %v: error: %v", client.Username, err) if client.IsVoter && room.cancelReveal != nil { room.cancelReveal <- true } diff --git a/ui/src/components/votingCardList/votingCardList.tsx b/ui/src/components/votingCardList/votingCardList.tsx index 8ddb1fb..2741588 100644 --- a/ui/src/components/votingCardList/votingCardList.tsx +++ b/ui/src/components/votingCardList/votingCardList.tsx @@ -10,7 +10,7 @@ export const [selectedCard, setSelectedCard] = createSignal( export const VotingCardList: Component = () => { createEffect((prev) => { if (prev && !revealed()) { - // setSelectedCard(null); + setSelectedCard(null); } return revealed(); }, false);