Skip to content

Commit

Permalink
Fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
2YH02 committed Nov 11, 2023
1 parent 9a73301 commit e892bbb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pages/Example/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ const Example = () => {
return () => {
socket.off("message-to-client");
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [socket]);

// 메세지 데이터
Expand Down Expand Up @@ -117,7 +116,6 @@ const Example = () => {
// 메시지 값 변화시(소켓 통신 시) 콘솔에 메시지 데이터 출력
useEffect(() => {
console.log(messages);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [messages]);

//팝업 변화 감지
Expand Down

0 comments on commit e892bbb

Please sign in to comment.