Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lukarenko committed Dec 15, 2023
1 parent 079cccc commit cd2ac46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/visualizations/DailyComparisonChart.fs
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ let renderChartOptions (state: State) dispatch =
match state.DisplayType with
| New -> dp.Cases.ConfirmedToday
| Active -> dp.Cases.Active
| VacDosesAdministered -> dp.Vaccination.Used.Today
| Deceased -> dp.Deceased
| VacDosesAdministered -> dp.Vaccination.Used.Today
| _ -> None

let getTestsValue (dp: LabTestsStats) =
Expand All @@ -183,7 +183,7 @@ let renderChartOptions (state: State) dispatch =
| HospitalAdmitted -> dp.total.inHospital.``in``
| HospitalDischarged -> dp.total.inHospital.out
| ICUAdmitted -> dp.total.icu.``in``
// We do not used hospital data anymore for deceased
// We do not use hospital data anymore for deceased
// | Deceased -> dp.total.deceased.today
| _ -> None

Expand Down

0 comments on commit cd2ac46

Please sign in to comment.