handle new jury, bingo WS message types in client
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -91,6 +91,11 @@ export function useWebSocket(roomCode: string) {
|
|||||||
case "predictions_locked":
|
case "predictions_locked":
|
||||||
lockPredictions()
|
lockPredictions()
|
||||||
break
|
break
|
||||||
|
case "jury_vote_opened":
|
||||||
|
case "jury_vote_closed":
|
||||||
|
case "bingo_announced":
|
||||||
|
// State updates arrive via game_state; these are supplementary signals
|
||||||
|
break
|
||||||
case "error":
|
case "error":
|
||||||
console.error("Server error:", msg.message)
|
console.error("Server error:", msg.message)
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user