Skip to content

Commit

Permalink
recovered fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carlaiau committed Apr 11, 2020
1 parent 79aba44 commit 2907df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/advanced-country-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class AdvancedCountryPage extends React.Component{
{country.highest_recovered ?
<tr>
<th className="is-size-4" style={{paddingRight: '10px', textAlign: 'right'}}>
{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)}
</th>
<th className="is-size-4" style={{paddingRight: '5px', textAlign: 'right'}}>
{this.tidyFormat(country.highest_recovered)}
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/country-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default class CountryPage extends React.Component{
{country.highest_recovered ?
<tr>
<th className="is-size-4" style={{paddingRight: '10px', textAlign: 'right'}}>
{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)}
</th>
<th className="is-size-4" style={{paddingRight: '5px', textAlign: 'right'}}>
{this.tidyFormat(country.highest_recovered)}
Expand Down

0 comments on commit 2907df0

Please sign in to comment.