From d68c568490f1e22288b1136c7afe322a7bfb13ed Mon Sep 17 00:00:00 2001 From: Kristofer Koishigawa Date: Sun, 27 May 2018 22:30:23 +0900 Subject: [PATCH] fix(app): Change condition for points pluralization function (#17247) --- common/app/routes/Settings/components/Camper.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/app/routes/Settings/components/Camper.jsx b/common/app/routes/Settings/components/Camper.jsx index 5fcb8b4ad3e414..947249c426a29d 100644 --- a/common/app/routes/Settings/components/Camper.jsx +++ b/common/app/routes/Settings/components/Camper.jsx @@ -45,7 +45,7 @@ function Camper({ { typeof points === 'number' ? (

- { `${points} ${pluralise('point', points > 1)}` } + { `${points} ${pluralise('point', points !== 1)}` }

) : null }