about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRonyVidaur <rony.vidaur@gmail.com>2024-02-03 22:09:07 -0600
committerRonyVidaur <rony.vidaur@gmail.com>2024-02-03 22:09:07 -0600
commit323b5bdfda426ac2f2366ff1f36031092f843e75 (patch)
tree88bf8cf11173c8a00223ff68c006816345e9f8cc /src
parent6f228a598e5cf5c445dc255c608d3164b2a7b853 (diff)
downloadvoidsky-323b5bdfda426ac2f2366ff1f36031092f843e75.tar.zst
enhance check
Diffstat (limited to 'src')
-rw-r--r--src/view/com/auth/create/Step2.tsx2
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({