chore: dry up templates

This commit is contained in:
Cory Dransfeldt 2024-10-26 08:56:19 -07:00
parent 47ca467b88
commit 05ab78c861
No known key found for this signature in database
14 changed files with 147 additions and 196 deletions

View file

@ -15,4 +15,8 @@ export default {
ellipsis: "...",
}),
shuffleArray,
pluralize: (count, string) => {
if (count === 1) return string;
return `${string}s`;
},
};