format
parent
323b5bdfda
commit
1412f9d95c
|
@ -42,10 +42,7 @@ export function Step2({
|
|||
const {isMobile} = useWebMediaQueries()
|
||||
|
||||
const onPressRequest = React.useCallback(() => {
|
||||
const phoneNumber = parsePhoneNumber(
|
||||
uiState.verificationPhone,
|
||||
uiState.phoneCountry,
|
||||
);
|
||||
const phoneNumber = parsePhoneNumber(uiState.verificationPhone, uiState.phoneCountry)
|
||||
if (phoneNumber && phoneNumber.isValid()) {
|
||||
requestVerificationCode({uiState, uiDispatch, _})
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue