We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31da866 commit 0ef8759Copy full SHA for 0ef8759
core/src/section/CountInfo.tsx
@@ -33,7 +33,7 @@ export const CountInfoComp = <K extends TagType, T extends object>(
33
34
const len = Object.keys(value).length;
35
if (!reset.children) {
36
- reset.children = `${len} items`;
+ reset.children = `${len} item${len === 1 ? '' : 's'}`;
37
}
38
39
const elmProps = { ...reset, ...other };
0 commit comments