Skip to content

Commit

Permalink
fix: react hook warning
Browse files Browse the repository at this point in the history
  • Loading branch information
muke1908 committed Sep 19, 2024
1 parent 3ae874e commit 1afa6d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Messaging/UserStatusInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const UserStatusInfo = ({
chate2ee.onPCStateChanged((state) => {
setCallState(state);
});
}, []);
}, [chate2ee]);

const makeCall = async () => {
if(call) {
Expand Down

0 comments on commit 1afa6d7

Please sign in to comment.