This commit is contained in:
Timo
2025-06-04 15:40:01 +02:00
parent 2a667b4a91
commit ffdf9cf2af
2 changed files with 2 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ Please see LICENSE in the repository root for full details.
*/
import { useEffect, useMemo } from "react";
import { logger } from "matrix-js-sdk/lib/logger";
import {
setLocalStorageItemReactive,
@@ -14,7 +15,6 @@ import {
import { getUrlParams } from "../UrlParams";
import { E2eeType } from "./e2eeType";
import { useClient } from "../ClientContext";
import { logger } from "matrix-js-sdk/lib/logger";
/**
* This setter will update the state for all `useRoomSharedKey` hooks

View File

@@ -148,7 +148,7 @@ export const ActiveCall: FC<ActiveCallProps> = (props) => {
});
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
}, [livekitRoom]);
useEffect(() => {
if (livekitRoom !== undefined) {