Skip to content

Commit

Permalink
fixes#8365
Browse files Browse the repository at this point in the history
  • Loading branch information
JOSHIK27 committed Aug 20, 2024
1 parent 9c8b596 commit 81f9167
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Components/Facility/ConsultationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -539,15 +539,6 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => {
invalidForm = true;
}
return;
case "consultation_notes":
if (!state.form[field]) {
errors[field] = t("field_required");
invalidForm = true;
} else if (!state.form[field].replace(/\s/g, "").length) {
errors[field] = "Consultation notes can not be empty";
invalidForm = true;
}
return;
case "is_telemedicine":
if (
state.form.admitted_to === "Home Isolation" &&
Expand Down Expand Up @@ -1415,7 +1406,6 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => {
>
<TextAreaFormField
label="General Instructions (Advice)"
required
placeholder="Consultation Notes"
{...field("consultation_notes")}
/>
Expand Down

0 comments on commit 81f9167

Please sign in to comment.