Disable call button while the call is connecting. (#3531)
* Disable call button while the call is connecting. * cleanup * fix * Update src/room/LobbyView.tsx Co-authored-by: Robin <robin@robin.town> * fixup * appease linter --------- Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
@@ -151,7 +151,10 @@ export const RoomPage: FC = () => {
|
||||
: E2eeType.NONE,
|
||||
},
|
||||
}}
|
||||
onEnter={(): void => knock?.()}
|
||||
onEnter={async (): Promise<void> => {
|
||||
knock?.();
|
||||
return Promise.resolve();
|
||||
}}
|
||||
enterLabel={label}
|
||||
waitingForInvite={groupCallState.kind === "waitForInvite"}
|
||||
confineToRoom={confineToRoom}
|
||||
|
||||
Reference in New Issue
Block a user