Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishith25 committed Jan 15, 2025
1 parent b4b5997 commit 08f96d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Patient/PatientRegistration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function PatientRegistration(
.refine((date) => {
const parsedDate = dayjs(date);
return parsedDate.isValid() && !parsedDate.isAfter(dayjs());
}, "Please enter a valid date")
}, t("enter_valid_date"))
.optional(),
age: z
.number()
Expand Down

0 comments on commit 08f96d2

Please sign in to comment.