mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-03 17:54:14 +02:00
Use correct pluralisation for zero results
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
f49668d722
commit
59c7282ddb
|
|
@ -226,5 +226,5 @@ search backend.
|
|||
//
|
||||
|
||||
const resultsString = (n) => {
|
||||
return n > 1 ? "results" : "result";
|
||||
return n === 1 ? "result" : "results";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue