diff --git a/src/components/Auth/Login.tsx b/src/components/Auth/Login.tsx index dfe4aaac4de..87eb7c10004 100644 --- a/src/components/Auth/Login.tsx +++ b/src/components/Auth/Login.tsx @@ -633,6 +633,7 @@ const Login = (props: LoginProps) => { }} maxLength={5} placeholder="Enter 5-digit OTP" + autoFocus /> {otpValidationError && (

diff --git a/src/components/Patient/PatientRegistration.tsx b/src/components/Patient/PatientRegistration.tsx index 1c1113081ef..6f46b141468 100644 --- a/src/components/Patient/PatientRegistration.tsx +++ b/src/components/Patient/PatientRegistration.tsx @@ -726,7 +726,7 @@ export default function PatientRegistration( diff --git a/src/pages/Appointments/BookAppointment.tsx b/src/pages/Appointments/BookAppointment.tsx index fb61ed487f4..8b0c0bcc6de 100644 --- a/src/pages/Appointments/BookAppointment.tsx +++ b/src/pages/Appointments/BookAppointment.tsx @@ -175,7 +175,15 @@ export default function BookAppointment(props: Props) {

- diff --git a/src/pages/PublicAppointments/Schedule.tsx b/src/pages/PublicAppointments/Schedule.tsx index fa93b45f1d8..aa87de8a5de 100644 --- a/src/pages/PublicAppointments/Schedule.tsx +++ b/src/pages/PublicAppointments/Schedule.tsx @@ -216,7 +216,7 @@ export function ScheduleAppointment(props: AppointmentsProps) { diff --git a/src/pages/PublicAppointments/auth/PatientLogin.tsx b/src/pages/PublicAppointments/auth/PatientLogin.tsx index 6667f453387..51fed164ecb 100644 --- a/src/pages/PublicAppointments/auth/PatientLogin.tsx +++ b/src/pages/PublicAppointments/auth/PatientLogin.tsx @@ -175,7 +175,12 @@ export default function PatientLogin({ {t("enter_the_verification_code")} - + @@ -229,7 +234,7 @@ export default function PatientLogin({ className="border border-secondary-400" onClick={() => page === "send" - ? goBack() + ? goBack(`/facility/${facilityId}`) : navigate( `/facility/${facilityId}/appointments/${staffId}/otp/send`, )