fix(app): Change condition for points pluralization function (#17247)
This commit is contained in:
committed by
mrugesh mohapatra
parent
d9d1e9c8b5
commit
d68c568490
@ -45,7 +45,7 @@ function Camper({
|
|||||||
{
|
{
|
||||||
typeof points === 'number' ? (
|
typeof points === 'number' ? (
|
||||||
<p className='text-center points'>
|
<p className='text-center points'>
|
||||||
{ `${points} ${pluralise('point', points > 1)}` }
|
{ `${points} ${pluralise('point', points !== 1)}` }
|
||||||
</p>
|
</p>
|
||||||
) : null
|
) : null
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user