From 2907df055cc56e1b2fcd23657edcb4b5a18eb8b0 Mon Sep 17 00:00:00 2001 From: Carl Aiau Date: Sat, 11 Apr 2020 16:17:12 +1200 Subject: [PATCH] recovered fix --- client/src/components/advanced-country-page.js | 2 +- client/src/components/country-page.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/advanced-country-page.js b/client/src/components/advanced-country-page.js index 3ebdc71..c1300b2 100644 --- a/client/src/components/advanced-country-page.js +++ b/client/src/components/advanced-country-page.js @@ -97,7 +97,7 @@ export default class AdvancedCountryPage extends React.Component{ {country.highest_recovered ? - {this.tidyFormat(country.highest_deaths - country.time_series[country.time_series.length - 2].deaths)} + {this.tidyFormat(country.highest_recovered - country.time_series[country.time_series.length - 2].recovered)} {this.tidyFormat(country.highest_recovered)} diff --git a/client/src/components/country-page.js b/client/src/components/country-page.js index 4ac15fb..e6eeec0 100644 --- a/client/src/components/country-page.js +++ b/client/src/components/country-page.js @@ -76,7 +76,7 @@ export default class CountryPage extends React.Component{ {country.highest_recovered ? - {this.tidyFormat(country.highest_deaths - country.time_series[country.time_series.length - 2].deaths)} + {this.tidyFormat(country.highest_recovered - country.time_series[country.time_series.length - 2].recovered)} {this.tidyFormat(country.highest_recovered)}