zio/stable
Paul Frazee 2024-02-06 09:28:56 -08:00
parent 57559ab6ca
commit 0604e5b84e
1 changed files with 4 additions and 1 deletions

View File

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