Skip to content

Commit

Permalink
Update src/Components/Facility/DischargeModal.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Rithvik Nishad <rithvikn2001@gmail.com>
  • Loading branch information
JOSHIK27 and rithviknishad authored Aug 22, 2024
1 parent 627d02e commit 9f2f9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Facility/DischargeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const DischargeModal = ({
});

const diagnoses =

Check failure on line 108 in src/Components/Facility/DischargeModal.tsx

View workflow job for this annotation

GitHub Actions / lint

'diagnoses' is assigned a value but never used. Allowed unused vars must match /^_/u

Check failure on line 108 in src/Components/Facility/DischargeModal.tsx

View workflow job for this annotation

GitHub Actions / lint

Delete `⏎···`
data?.diagnoses?.map((diagnosis) => diagnosis) || [];
data?.diagnoses ?? [];

const discharge_reason =
new_discharge_reason ?? preDischargeForm.new_discharge_reason;
Expand Down

0 comments on commit 9f2f9d6

Please sign in to comment.