Skip to content

Commit

Permalink
chore: 사용안하는 코드 및 log제거
Browse files Browse the repository at this point in the history
  • Loading branch information
cheonjiyun committed Nov 23, 2024
1 parent e67ecbf commit 6141c60
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/pages/Game.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -131,8 +129,6 @@ export default function Game() {
return () => unsubscribeChat();
}, [gamesStatus.statusType, finishSocketConneted]);

useEffect(() => {});

// 웹소켓 연결
useEffect(() => {
connect();
Expand Down

0 comments on commit 6141c60

Please sign in to comment.