Skip to content

Commit

Permalink
feat: setRoomData 인자 변경 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
zizonyoungjun committed Dec 3, 2024
1 parent 45e91b3 commit d7aaa4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/lobbyPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function LobbyPage() {
if (gsid) {
socket?.emit('leave_room');
setChatHistory([]);
setRoomData(null, false, false);
setRoomData(null, false, false, '');
}
}, []);

Check warning on line 27 in packages/frontend/src/pages/lobbyPage/index.tsx

View workflow job for this annotation

GitHub Actions / Frontend CI

React Hook useEffect has missing dependencies: 'gsid', 'setChatHistory', 'setRoomData', and 'socket'. Either include them or remove the dependency array

Check warning on line 27 in packages/frontend/src/pages/lobbyPage/index.tsx

View workflow job for this annotation

GitHub Actions / Frontend CI

React Hook useEffect has missing dependencies: 'gsid', 'setChatHistory', 'setRoomData', and 'socket'. Either include them or remove the dependency array

Expand Down

0 comments on commit d7aaa4b

Please sign in to comment.