zio/stable
RonyVidaur 2024-02-03 22:27:50 -06:00
parent 323b5bdfda
commit 1412f9d95c
1 changed files with 1 additions and 4 deletions

View File

@ -42,10 +42,7 @@ export function Step2({
const {isMobile} = useWebMediaQueries() const {isMobile} = useWebMediaQueries()
const onPressRequest = React.useCallback(() => { const onPressRequest = React.useCallback(() => {
const phoneNumber = parsePhoneNumber( const phoneNumber = parsePhoneNumber(uiState.verificationPhone, uiState.phoneCountry)
uiState.verificationPhone,
uiState.phoneCountry,
);
if (phoneNumber && phoneNumber.isValid()) { if (phoneNumber && phoneNumber.isValid()) {
requestVerificationCode({uiState, uiDispatch, _}) requestVerificationCode({uiState, uiDispatch, _})
} else { } else {