fix formatting and lint

This commit is contained in:
7w1 committed 2026-03-06 20:50:38 -06:00
1 parent 86857e5f9d
commit 335380f8c3
1 file changed
+22 -3
@@ -118,7 +118,12 @@ export function PersistentCallContainer({ children }: PersistentCallContainerPro
'm.call',
newUrl,
false,
getWidgetData(mx, roomIdToSet, {}, { skipLobby: true, intent: effectiveIntent, callIntent: callIntentParam }),
getWidgetData(
mx,
roomIdToSet,
{},
{ skipLobby: true, intent: effectiveIntent, callIntent: callIntentParam }
),
roomIdToSet
);
@@ -181,13 +186,27 @@ export function PersistentCallContainer({ children }: PersistentCallContainerPro
}
}
return undefined;
}, [isActiveCallReady, activeCallRoomId, mx, registerActiveClientWidgetApi, resetActiveCallReady, hangUp]);
}, [
isActiveCallReady,
activeCallRoomId,
mx,
registerActiveClientWidgetApi,
resetActiveCallReady,
hangUp,
]);
useEffect(() => {
if (activeCallRoomId) {
const intentOverride = postLobbyIntentRef.current ?? undefined;
postLobbyIntentRef.current = null;
setupWidget(callWidgetApiRef, callSmallWidgetRef, callIframeRef, true, theme.kind, intentOverride);
setupWidget(
callWidgetApiRef,
callSmallWidgetRef,
callIframeRef,
true,
theme.kind,
intentOverride
);
}
}, [
theme,