From 9c4b260a9108cebbad59c1af199d0339ccf66552 Mon Sep 17 00:00:00 2001 From: Sajad Mirjalili Date: Mon, 29 Sep 2025 19:31:34 +0330 Subject: [PATCH] fix: reset state of phone form on cancel --- src/features/profile/components/userInformation/PhoneNumber.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/features/profile/components/userInformation/PhoneNumber.tsx b/src/features/profile/components/userInformation/PhoneNumber.tsx index ebb7d03..0a2e70e 100644 --- a/src/features/profile/components/userInformation/PhoneNumber.tsx +++ b/src/features/profile/components/userInformation/PhoneNumber.tsx @@ -118,6 +118,7 @@ export function PhoneNumber() { setPhoneNumberTouched(false); setVerificationCodeError(undefined); setVerificationCodeTouched(false); + setIsCodeSent(false); } return !prev; });