diff --git a/react/features/prejoin/actionTypes.ts b/react/features/prejoin/actionTypes.ts index 0ade306e85c0..2bf7a967bed7 100644 --- a/react/features/prejoin/actionTypes.ts +++ b/react/features/prejoin/actionTypes.ts @@ -39,16 +39,6 @@ export const SET_DIALOUT_STATUS = 'SET_DIALOUT_STATUS'; */ export const SET_JOIN_BY_PHONE_DIALOG_VISIBLITY = 'SET_JOIN_BY_PHONE_DIALOG_VISIBLITY'; -/** - * Action type to disable the audio while on prejoin page. - */ -export const SET_PREJOIN_AUDIO_DISABLED = 'SET_PREJOIN_AUDIO_DISABLED'; - -/** - * Action type to mute/unmute the audio while on prejoin page. - */ -export const SET_PREJOIN_AUDIO_MUTED = 'SET_PREJOIN_AUDIO_MUTED'; - /** * Action type to set the errors while creating the prejoin streams. */ diff --git a/react/features/prejoin/components/native/Prejoin.tsx b/react/features/prejoin/components/native/Prejoin.tsx index bc71101e093c..31945d5dda4d 100644 --- a/react/features/prejoin/components/native/Prejoin.tsx +++ b/react/features/prejoin/components/native/Prejoin.tsx @@ -70,8 +70,6 @@ const Prejoin: React.FC = ({ navigation }: IPrejoinProps) => { const showDisplayNameInput = useMemo( () => isDisplayNameVisible && (displayName || !isDisplayNameReadonly), [ displayName, isDisplayNameReadonly, isDisplayNameVisible ]); - const [ isJoining, setIsJoining ] - = useState(false); const onChangeDisplayName = useCallback(event => { const fieldValue = getFieldValue(event); @@ -82,7 +80,6 @@ const Prejoin: React.FC = ({ navigation }: IPrejoinProps) => { }, [ displayName ]); const onJoin = useCallback(() => { - setIsJoining(true); dispatch(connect()); navigateRoot(screen.conference.root); }, [ dispatch ]); @@ -212,14 +209,14 @@ const Prejoin: React.FC = ({ navigation }: IPrejoinProps) => { accessibilityLabel = 'prejoin.joinMeeting' disabled = { showDisplayNameError } labelKey = 'prejoin.joinMeeting' - onClick = { isJoining ? undefined : maybeJoin } + onClick = { maybeJoin } style = { styles.joinButton } type = { PRIMARY } />