Skip to content

Commit adcd1cd

Browse files
deyvydclaude
andcommitted
fix: add missing t dep in Room useEffect
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 10c3bd5 commit adcd1cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/lobby/Room.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const Room = () => {
6767
socket.off('error', handleError);
6868
socket.off('connect', requestRoomInfo);
6969
};
70-
}, [socket, navigate, code]);
70+
}, [socket, navigate, code, t]);
7171

7272
const handleJoin = () => {
7373
if (!playerName) return alert(t('app.enterNameAlert'));

0 commit comments

Comments
 (0)