fix: remove unnecessary dependency from useCallService effect

This commit is contained in:
2026-04-19 07:36:57 +10:00
parent 6853e04db0
commit 9930a4bb99

View File

@@ -157,7 +157,7 @@ export function useCallService(): CallContextValue {
service?.dispose();
setGlobalCallService(null); // Clear global reference
};
}, [mx, configuredLivekitUrl]);
}, [mx]);
const startCall = useCallback(
async (roomId: string, callType: CallType) => {