1
0
Fork 0

Remove "votes" text from poll items translation

Making it language-agnostic.
This commit is contained in:
Lim Chee Aun 2023-08-29 20:41:48 +08:00
parent 8bfc9892ed
commit 2ebf421140

View file

@ -1170,9 +1170,7 @@ function Status({
(option) =>
`- ${option.title}${
option.votesCount >= 0
? ` (${option.votesCount} vote${
option.votesCount !== 1 ? 's' : ''
})`
? ` (${option.votesCount})`
: ''
}`,
)