aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/utils/strings.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/utils/strings.js')
-rw-r--r--src/js/utils/strings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/utils/strings.js b/src/js/utils/strings.js
index b7de04c1..d4cc1efa 100644
--- a/src/js/utils/strings.js
+++ b/src/js/utils/strings.js
@@ -33,7 +33,7 @@ export const replaceAll = (input = '', find = '', replace = '') =>
// Convert to title case
export const toTitleCase = (input = '') =>
- input.toString().replace(/\w\S*/g, text => text.charAt(0).toUpperCase() + text.substr(1).toLowerCase());
+ input.toString().replace(/\w\S*/g, (text) => text.charAt(0).toUpperCase() + text.substr(1).toLowerCase());
// Convert string to pascalCase
export function toPascalCase(input = '') {