Skip to content

Commit cc0db9d

Browse files
Typo error fixed from OPT to OTP (ohcnetwork#11869)
1 parent 7c0cf76 commit cc0db9d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

OTP

Whitespace-only changes.

public/locale/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@
14991499
"invalid_latitude": "Invalid latitude",
15001500
"invalid_link_msg": "It appears that the password reset link you have used is either invalid or expired. Please request a new password reset link.",
15011501
"invalid_longitude": "Invalid longitude",
1502-
"invalid_otp": "Invalid OTP, Please check the OPT and try Again",
1502+
"invalid_otp": "Invalid OTP, Please check the OTP and try again",
15031503
"invalid_password": "Password doesn't meet the requirements",
15041504
"invalid_password_reset_link": "Invalid password reset link",
15051505
"invalid_patient_data": "Invalid Patient Data",

src/components/Auth/Login.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,11 @@ const Login = (props: LoginProps) => {
562562
<InputOTPSlot
563563
key={index}
564564
index={index}
565-
className="size-10"
565+
className={cn(
566+
"size-10",
567+
otpValidationError &&
568+
"border-red-500 focus-visible:ring-red-500",
569+
)}
566570
/>
567571
))}
568572
</InputOTPGroup>

0 commit comments

Comments
 (0)