Skip to content

Commit

Permalink
Change wording for cumulative
Browse files Browse the repository at this point in the history
  • Loading branch information
dongyoon-ok committed Nov 13, 2020
1 parent 913e7ac commit 22e1455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Timeseries.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function Timeseries() {

const { country_region, province_state, confirmed, deaths, Date, active, recovered, change } = casualty[0].properties;
let html = `<strong>${country_region}</strong><p>province_state: ${province_state}</br>`;
if (confirmed) html += `Confirmed(cumulative): ${numberWithCommas(confirmed)}</br>`;
if (confirmed) html += `total cases: ${numberWithCommas(confirmed)}</br>`;
if (recovered) html += `recovered: ${numberWithCommas(recovered)}</br>`;
if (deaths) html += `Death: ${numberWithCommas(deaths)}</br>`;
if (change) html += `Change: ${numberWithCommas(change)}</br>`;
Expand Down

0 comments on commit 22e1455

Please sign in to comment.