diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 1b23fcf..64c3e96 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -219,14 +219,7 @@ export function GroupCallView({ undefined ); - const [livekitServiceURL, setLivekitServiceURL] = useState< - string | undefined - >(groupCall.foci[0]?.livekitServiceUrl); - - useEffect(() => { - setLivekitServiceURL(groupCall.foci[0]?.livekitServiceUrl); - }, [setLivekitServiceURL, groupCall]); - + const livekitServiceURL = groupCall.foci[0]?.livekitServiceUrl; if (!livekitServiceURL) { return ; }