Fix lint errors

Various hooks either missing dependencies or with extra ones.

Two remaining errors are from the recapcta code where I can't
work out if the extra dependency is intentional or not.
This commit is contained in:
David Baker
2022-05-05 13:15:07 +01:00
parent dbef06269b
commit bf8f164f55
7 changed files with 47 additions and 37 deletions

View File

@@ -81,7 +81,7 @@ export function useGroupCallRooms(client) {
client.removeListener("GroupCall.incoming", updateRooms);
client.removeListener("GroupCall.participants", updateRooms);
};
}, []);
}, [client]);
return rooms;
}