Skip to content

Commit

Permalink
fix(app): Change condition for points pluralization function (freeCod…
Browse files Browse the repository at this point in the history
  • Loading branch information
scissorsneedfoodtoo authored and raisedadead committed May 27, 2018
1 parent d9d1e9c commit d68c568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/app/routes/Settings/components/Camper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function Camper({
{
typeof points === 'number' ? (
<p className='text-center points'>
{ `${points} ${pluralise('point', points > 1)}` }
{ `${points} ${pluralise('point', points !== 1)}` }
</p>
) : null
}
Expand Down

0 comments on commit d68c568

Please sign in to comment.