From bc0602081f939f11fda71ea51d90f9574bb8e19d Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Tue, 3 May 2022 21:26:46 -0700 Subject: [PATCH] doc: add active with different casesType --- src/App.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/App.js b/src/App.js index ca8b3ea..73bba78 100644 --- a/src/App.js +++ b/src/App.js @@ -86,18 +86,21 @@ function App() {
setCasesType("cases")} title="Coronavirus Cases" cases={prettyPrintStat(countryInfo.todayCases)} total={prettyPrintStat(countryInfo.cases)} /> setCasesType("recovered")} title="Recovered " cases={prettyPrintStat(countryInfo.todayRecovered)} total={prettyPrintStat(countryInfo.recovered)} /> setCasesType("deaths")} title="Deaths" cases={prettyPrintStat(countryInfo.todayDeaths)}