fix: remove unnecessary dependency from useCallService effect

This commit is contained in:
2026-04-19 07:36:31 +10:00
parent 6853e04db0
commit 572743f16d

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) => {