From 0710f0019bb19c1686899eac2f7fd765443cc090 Mon Sep 17 00:00:00 2001 From: Saniya <37302318+Saby-Bishops@users.noreply.github.com> Date: Fri, 19 Dec 2025 13:20:33 -0600 Subject: [PATCH] Remove unused hexToString utility --- src/app/shared/utils.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/shared/utils.ts b/src/app/shared/utils.ts index a901593cce..0a9a45ad23 100644 --- a/src/app/shared/utils.ts +++ b/src/app/shared/utils.ts @@ -83,8 +83,6 @@ export const toProperCase = (string: string) => `${string.slice(0, 1).toUpperCas export const stringToHex = (string: string) => string.split('').map(char => char.charCodeAt(0).toString(16)).join(''); -export const hexToString = (string: string) => string.match(/.{1,2}/g).map(hex => String.fromCharCode(parseInt(hex, 16))).join(''); - export const ageFromBirthDate = (currentTime: number, birthDate: string) => { const now = new Date(currentTime); const birth = new Date(birthDate);