format
parent
323b5bdfda
commit
1412f9d95c
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue