Skip to content

Commit

Permalink
display field errors using zod
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnasambu committed Aug 2, 2024
1 parent 7a1ba4c commit 3778b1b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/results/result-form.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,7 @@ const ResultForm: React.FC<ResultFormProps> = ({ order, patientUuid }) => {
<InlineNotification
lowContrast
title={t("error", "Error")}
subtitle={
t("pleaseAllRequiredFields", "Please fill all required fields") +
"."
}
subtitle={t("pleaseAllFields", "Please fill all fields") + "."}
onClose={() => setShowErrorNotification(false)}
/>
</Column>
Expand Down

0 comments on commit 3778b1b

Please sign in to comment.