fix: remove unnecessary dependency from useCallService effect
This commit is contained in:
1 parent
6853e04db0
commit
9930a4bb99
1 file changed
+1
-1
@@ -157,7 +157,7 @@ export function useCallService(): CallContextValue {
|
|||||||
service?.dispose();
|
service?.dispose();
|
||||||
setGlobalCallService(null); // Clear global reference
|
setGlobalCallService(null); // Clear global reference
|
||||||
};
|
};
|
||||||
}, [mx, configuredLivekitUrl]);
|
}, [mx]);
|
||||||
|
|
||||||
const startCall = useCallback(
|
const startCall = useCallback(
|
||||||
async (roomId: string, callType: CallType) => {
|
async (roomId: string, callType: CallType) => {
|
||||||
|
|||||||
Reference in new issue
Block a user