Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
esheyw committed Feb 2, 2024
2 parents 68fa136 + e3bc878 commit f2f4496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/helpers/stringHelpers.mjs
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ export function prependIndefiniteArticle(string) {
}

export function capitalize(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
return string.capitalize();
}

export function localize(str, data = {}, { defaultEmpty = true } = {}) {

0 comments on commit f2f4496

Please sign in to comment.