From 323b5bdfda426ac2f2366ff1f36031092f843e75 Mon Sep 17 00:00:00 2001 From: RonyVidaur Date: Sat, 3 Feb 2024 22:09:07 -0600 Subject: [PATCH] enhance check --- src/view/com/auth/create/Step2.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/com/auth/create/Step2.tsx b/src/view/com/auth/create/Step2.tsx index 626ff0e8..4e6512c9 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({