From f0ff89b2e5d7aa56fd96c0804ee117b62a985a2e Mon Sep 17 00:00:00 2001 From: dinhtran Date: Mon, 4 Mar 2024 15:30:51 +0700 Subject: [PATCH] fix: remove function getShortValue --- src/commons/utils/helper.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/commons/utils/helper.ts b/src/commons/utils/helper.ts index 5b2c0b7f41..a760a4f174 100644 --- a/src/commons/utils/helper.ts +++ b/src/commons/utils/helper.ts @@ -30,9 +30,6 @@ export const getShortHashXs = (address = "", firstpart?: number, lastPart?: numb if (address?.length <= 18) return address; return address ? `${address.slice(0, firstpart ? firstpart : 7)}...${address.slice(-(lastPart ? lastPart : 5))}` : ""; }; -export const getShortValue = (address = "", length = 50) => { - return address.slice(0, length); -}; export const getShortValue = (address = "", length = 50) => { return address.slice(0, length);