From d56eb2e4ffa6a790caddac8c65d2faa84859dc2b Mon Sep 17 00:00:00 2001 From: mehrzadghdev Date: Wed, 20 Aug 2025 23:39:21 +0330 Subject: [PATCH] fix: recent timer button removed --- .../AuthenticationSteps/OtpVerifyForm.tsx | 24 ++++++++++++------- .../AuthenticationSteps/VerifyPhoneNumber.tsx | 24 ++++++++++++------- .../ForgetPassword/ForgetPasswordOtp.tsx | 24 ++++++++++++------- 3 files changed, 48 insertions(+), 24 deletions(-) diff --git a/src/features/authentication/components/AuthenticationSteps/OtpVerifyForm.tsx b/src/features/authentication/components/AuthenticationSteps/OtpVerifyForm.tsx index 9ea59d9..006e0c5 100644 --- a/src/features/authentication/components/AuthenticationSteps/OtpVerifyForm.tsx +++ b/src/features/authentication/components/AuthenticationSteps/OtpVerifyForm.tsx @@ -213,20 +213,28 @@ export function OtpVerifyForm({ sx={{ justifyContent: 'center', alignItems: 'center', - mt: 1.5, + mt: 2.5, }} > {t('verify.resendCodeIn')} - + + + {canResend && ( + + )} ); diff --git a/src/features/authentication/components/AuthenticationSteps/VerifyPhoneNumber.tsx b/src/features/authentication/components/AuthenticationSteps/VerifyPhoneNumber.tsx index d58553f..c629924 100644 --- a/src/features/authentication/components/AuthenticationSteps/VerifyPhoneNumber.tsx +++ b/src/features/authentication/components/AuthenticationSteps/VerifyPhoneNumber.tsx @@ -140,20 +140,28 @@ export function VerifyPhoneNumber({ sx={{ justifyContent: 'center', alignItems: 'center', - mt: 1.5, + mt: 2.5, }} > {t('verify.resendCodeIn')} - + + + {canResend && ( + + )} ); diff --git a/src/features/authentication/components/ForgetPassword/ForgetPasswordOtp.tsx b/src/features/authentication/components/ForgetPassword/ForgetPasswordOtp.tsx index bd1afea..34596d4 100644 --- a/src/features/authentication/components/ForgetPassword/ForgetPasswordOtp.tsx +++ b/src/features/authentication/components/ForgetPassword/ForgetPasswordOtp.tsx @@ -171,20 +171,28 @@ export function ForgetPasswordOtp({ sx={{ justifyContent: 'center', alignItems: 'center', - mt: 1.5, + mt: 2.5, }} > {t('verify.resendCodeIn')} - + + + {canResend && ( + + )} );