Update src/room/LobbyView.tsx

Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
Will Hunt
2025-10-06 19:04:43 +01:00
committed by GitHub
parent a33fda5637
commit 44a2809f79

View File

@@ -198,7 +198,8 @@ export const LobbyView: FC<Props> = ({
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