Skip to content

Commit

Permalink
feat: 게임 시작 시 준비 상태 초기화
Browse files Browse the repository at this point in the history
  • Loading branch information
zizonyoungjun committed Dec 2, 2024
1 parent ef669c7 commit 1921427
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/frontend/src/hooks/useGameSocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const useGameSocket = (onPhaseChange?: (phase: GamePhase) => void) => {
setGameStartData(data);
setCurrentSpeaker(data.speakerId);
setIsPinoco(data.isPinoco);
setReadyUsers([]);
};

const handleStartVote = () => {
Expand Down

0 comments on commit 1921427

Please sign in to comment.