Skip to content

Commit

Permalink
remove null char regex replace (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
goastler authored Apr 9, 2024
1 parent 69c5886 commit 36331cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const translationKeys = getLeafFieldPath(translationEn) as TranslationKey
// String utils

export const trimProviderUrl = (url: string) => {
return hexToString(url).replace(/\0/g, '')
return hexToString(url)
}

export function snakeToCamelCase(str: string): string {
Expand Down

0 comments on commit 36331cf

Please sign in to comment.