diff --git a/src/pages/Game.tsx b/src/pages/Game.tsx index a1d89e8..31a18b6 100644 --- a/src/pages/Game.tsx +++ b/src/pages/Game.tsx @@ -56,8 +56,6 @@ export default function Game() { }) as EventListener); eventSource.current.addEventListener('lobbyInfo', ((response: MessageEvent) => { - console.log(JSON.parse(response.data)); - setWaitingRoomInfoState(JSON.parse(response.data)); }) as EventListener); @@ -131,8 +129,6 @@ export default function Game() { return () => unsubscribeChat(); }, [gamesStatus.statusType, finishSocketConneted]); - useEffect(() => {}); - // 웹소켓 연결 useEffect(() => { connect();