chore: format repo and fix lint config

This commit is contained in:
Yahya Alhinai
2026-06-28 00:09:48 +00:00
parent 1294b8428d
commit b1b0761973
23 changed files with 198 additions and 104 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ export function useInterventions(room: Room | null) {
if (msg.type === 'COLLISION') setActive(msg.intervention);
};
room.on(RoomEvent.DataReceived, onData);
return () => { room.off(RoomEvent.DataReceived, onData); };
return () => {
room.off(RoomEvent.DataReceived, onData);
};
}, [room]);
const respond = useCallback(