diff options
author | RonyVidaur <rony.vidaur@gmail.com> | 2024-02-03 22:09:07 -0600 |
---|---|---|
committer | RonyVidaur <rony.vidaur@gmail.com> | 2024-02-03 22:09:07 -0600 |
commit | 323b5bdfda426ac2f2366ff1f36031092f843e75 (patch) | |
tree | 88bf8cf11173c8a00223ff68c006816345e9f8cc /src | |
parent | 6f228a598e5cf5c445dc255c608d3164b2a7b853 (diff) | |
download | voidsky-323b5bdfda426ac2f2366ff1f36031092f843e75.tar.zst |
enhance check
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/auth/create/Step2.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/auth/create/Step2.tsx b/src/view/com/auth/create/Step2.tsx index 626ff0e86..4e6512c9b 100644 --- a/src/view/com/auth/create/Step2.tsx +++ b/src/view/com/auth/create/Step2.tsx @@ -46,7 +46,7 @@ export function Step2({ uiState.verificationPhone, uiState.phoneCountry, ); - if (phoneNumber.isValid()) { + if (phoneNumber && phoneNumber.isValid()) { requestVerificationCode({uiState, uiDispatch, _}) } else { uiDispatch({ |