Skip to content

Commit

Permalink
style: fix issue with prettier
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayak Kulkarni <[email protected]>
  • Loading branch information
vinayakkulkarni committed Sep 1, 2023
1 parent 26f1836 commit 55cafec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/shared/src/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ const camelizeRE = /-(\w)/g
* @private
*/
export const camelize = cacheStringFunction((str: string): string => {
return str.replace(camelizeRE, (_, c) => (c ? c.toString().toUpperCase() : ''))
return str.replace(camelizeRE, (_, c) =>
c ? c.toString().toUpperCase() : ''
)
})

const hyphenateRE = /\B([A-Z])/g
Expand Down

0 comments on commit 55cafec

Please sign in to comment.