fix(app): Change condition for points pluralization function (#17247)

This commit is contained in:
Kristofer Koishigawa
2018-05-27 22:30:23 +09:00
committed by mrugesh mohapatra
parent d9d1e9c8b5
commit d68c568490

View File

@ -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
}