From 44a2809f79abffa39df49850081baa0e72c8ec18 Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Mon, 6 Oct 2025 19:04:43 +0100 Subject: [PATCH] Update src/room/LobbyView.tsx Co-authored-by: Robin --- src/room/LobbyView.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/room/LobbyView.tsx b/src/room/LobbyView.tsx index 47ecae50..02981f1e 100644 --- a/src/room/LobbyView.tsx +++ b/src/room/LobbyView.tsx @@ -198,7 +198,8 @@ export const LobbyView: FC = ({ void onEnter().finally(() => setWaiting(false)); }, [onEnter]); - const [waiting, setWaiting] = useState(waitingForInvite); + const [waitingToEnter, setWaitingToEnter] = useState(false); + const waiting = waitingForInvite || waitingToEnter; // TODO: Unify this component with InCallView, so we can get slick joining // animations and don't have to feel bad about reusing its CSS