Skip to content

Commit

Permalink
removed unwanted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker committed Nov 11, 2024
1 parent 46f966a commit 84a1825
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Facility/DischargeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,9 @@ const DischargeModal = ({
setPreDischargeForm((form) => ({ ...form, ...updates }));
}}
required
min={new Date(consultationData?.encounter_date)}
min={dayjs(consultationData?.encounter_date)
.subtract(1, "day")
.toDate()}
max={new Date()}
error={
discharge_reason ===
Expand Down

0 comments on commit 84a1825

Please sign in to comment.