Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -33,7 +33,7 @@ export const Ready: React.FC<ReadyProps> = ({ users }) => { | ... | @@ -33,7 +33,7 @@ export const Ready: React.FC<ReadyProps> = ({ users }) => { |
33 | const handleReady = useCallback(() => { | 33 | const handleReady = useCallback(() => { |
34 | if (isAdmin && isAllReady) { | 34 | if (isAdmin && isAllReady) { |
35 | const rawMessage: RawMessage = { | 35 | const rawMessage: RawMessage = { |
36 | - type: MessageType.ROOM_READY, | 36 | + type: MessageType.ROOM_START, |
37 | message: {} | 37 | message: {} |
38 | } | 38 | } |
39 | socket.emit('msg', rawMessage, () => {}); | 39 | socket.emit('msg', rawMessage, () => {}); | ... | ... |
-
Please register or login to post a comment