mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-04 22:40:29 +03:00
Fix dependency array
This commit is contained in:
parent
c99112b78b
commit
3e6d55f03b
1 changed files with 1 additions and 12 deletions
|
|
@ -254,18 +254,7 @@ export function CallProvider({ children }: CallProviderProps) {
|
||||||
logger.debug(`CallContext: Hang up called.`);
|
logger.debug(`CallContext: Hang up called.`);
|
||||||
activeClientWidgetApi?.transport.send(`${WIDGET_HANGUP_ACTION}`, {});
|
activeClientWidgetApi?.transport.send(`${WIDGET_HANGUP_ACTION}`, {});
|
||||||
},
|
},
|
||||||
[
|
[activeCallRoomId, activeClientWidgetApi?.transport, isCallActive, isPrimaryIframe, lastViewedRoomDuringCall, setActiveClientWidgetApi, setViewedCallRoomId, shouldFlipIframe, viewedCallRoomId]
|
||||||
activeCallRoomId,
|
|
||||||
activeClientWidgetApi?.transport,
|
|
||||||
isCallActive,
|
|
||||||
isPrimaryIframe,
|
|
||||||
lastViewedRoomDuringCall,
|
|
||||||
setActiveClientWidgetApi,
|
|
||||||
setViewedCallRoomId,
|
|
||||||
shouldFlipIframe,
|
|
||||||
viewedCallRoomId,
|
|
||||||
viewedRoomId,
|
|
||||||
]
|
|
||||||
);
|
);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue