From 18b3f23c694b9b3154788fa0f612621be8618a2b Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Sun, 30 Aug 2020 16:10:15 +1000 Subject: chore: update packages and linting --- src/js/utils/strings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/js/utils/strings.js') 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 = '') { -- cgit v1.2.3