Skip to content

Commit

Permalink
Fix: Pressing “Enter” After Entering Data in Patient Registration (#9655
Browse files Browse the repository at this point in the history
)
  • Loading branch information
AdityaJ2305 authored Jan 2, 2025
1 parent 66336df commit 1251c5f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Patient/PatientRegistration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,11 @@ export default function PatientRegistration(
<br />
</div> */}
<div className="flex justify-end mt-20 gap-4">
<Button variant={"secondary"} onClick={() => goBack()}>
<Button
variant={"secondary"}
type="button"
onClick={() => goBack()}
>
{t("cancel")}
</Button>
<Button
Expand Down

0 comments on commit 1251c5f

Please sign in to comment.