mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 06:50:28 +03:00
Fix formatting
This commit is contained in:
parent
335df8d6ba
commit
18ea2d2063
1 changed files with 1 additions and 5 deletions
|
|
@ -153,7 +153,6 @@ export function CallProvider({ children }: CallProviderProps) {
|
|||
) => {
|
||||
if (activeClientWidgetApi && activeClientWidgetApi !== clientWidgetApi) {
|
||||
logger.debug(`CallContext: Cleaning up listeners for previous clientWidgetApi instance.`);
|
||||
//activeClientWidgetApi.removeAllListeners();
|
||||
}
|
||||
|
||||
if (roomId && clientWidgetApi) {
|
||||
|
|
@ -209,10 +208,7 @@ export function CallProvider({ children }: CallProviderProps) {
|
|||
if (typeof nextRoom !== 'string') {
|
||||
if (activeCallRoomId && viewedCallRoomId === activeCallRoomId) {
|
||||
setIsPrimaryIframe(!isPrimaryIframe);
|
||||
} else {
|
||||
if (viewedCallRoomId !== viewedRoomId) setViewedCallRoomId(activeCallRoomId);
|
||||
}
|
||||
logger.error(`${activeCallRoomId} ${viewedCallRoomId}`);
|
||||
} else if (viewedCallRoomId !== viewedRoomId) setViewedCallRoomId(activeCallRoomId);
|
||||
} else if (viewedCallRoomId !== null) {
|
||||
setIsPrimaryIframe(!isPrimaryIframe);
|
||||
} else if (activeCallRoomId) setViewedCallRoomId(nextRoom);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue