Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
fix: remove function getShortValue
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhtran committed Mar 4, 2024
1 parent c506fbd commit f0ff89b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/commons/utils/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f0ff89b

Please sign in to comment.