chore: dry up templates
This commit is contained in:
parent
47ca467b88
commit
05ab78c861
14 changed files with 147 additions and 196 deletions
|
@ -15,4 +15,8 @@ export default {
|
|||
ellipsis: "...",
|
||||
}),
|
||||
shuffleArray,
|
||||
pluralize: (count, string) => {
|
||||
if (count === 1) return string;
|
||||
return `${string}s`;
|
||||
},
|
||||
};
|
||||
|
|
Reference in a new issue