Skip to content

Commit

Permalink
Remove zeroPad from non numeric number
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfdsilva committed Jul 15, 2020
1 parent 27b85a0 commit 3de2c2d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/assets/scripts/components/spotlight/hub/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
} from '../../../styles/hub-pages';

import { wrapApiResult } from '../../../redux/reduxeed';
import { zeroPad } from '../../../utils/format';

import config from '../../../config';
const { baseUrl } = config;
Expand Down Expand Up @@ -60,13 +59,13 @@ class SpotlightAreasHub extends React.Component {
economic indicators.
</p>
<p>
This dashboard highlights {zeroPad(spotlightsCount)} spotlight areas around the
This dashboard highlights {spotlightsCount} spotlight areas around the
world, allowing you to explore how a specific location&apos;s
response to COVID-19 outbreaks has influenced local
environmental signals.
</p>
<p>
The {zeroPad(spotlightsCount)} spotlight areas were chosen based on their large
The {spotlightsCount} spotlight areas were chosen based on their large
populations and high level of economic activity, which
reveal significant changes in response to coronavirus
lockdown measures. For instance, larger urban areas where
Expand Down

0 comments on commit 3de2c2d

Please sign in to comment.