diff --git a/src/Components/Patient/ManagePatients.tsx b/src/Components/Patient/ManagePatients.tsx index 3d15baa90fa..09077cb3828 100644 --- a/src/Components/Patient/ManagePatients.tsx +++ b/src/Components/Patient/ManagePatients.tsx @@ -748,8 +748,7 @@ export const PatientManager = () => { navigate( `/facility/${authUser.home_facility_object?.id}/patient` ); - } - else setShowDialog(true); + } else setShowDialog(true); }} className="w-full lg:w-fit" >