improve: user friendly interactions

This commit is contained in:
Mahyar Khanbolooki
2025-07-03 19:26:43 +03:30
parent f4f3544597
commit 76ecb5839e
4 changed files with 7 additions and 4 deletions
@@ -49,7 +49,7 @@ function StepEnterOtp({ onChange, onClick, disabled = false, value, phoneNumber,
<OTPInputField
autoFocus
autoComplete='one-time-code'
type='number'
type='text'
inputMode='numeric'
className='mt-10 min-h-14 max-w-[304px]'
maxLength={6}
@@ -67,7 +67,7 @@ function StepEnterOtp({ onChange, onClick, disabled = false, value, phoneNumber,
<div>
کد را دریافت نکردید؟
<span className='text-primary px-1'>
<button id={AUTH_PAGE_ELEMENTS.RESEND_OTP} className='' onClick={onClick}>
<button type='button' id={AUTH_PAGE_ELEMENTS.RESEND_OTP} className='cursor-pointer' onClick={onClick}>
دوباره امتحان کنید
</button>
</span>