fix: remove unnecessary dependency from useCallService effect
This commit is contained in:
@@ -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