Skip to content

Commit

Permalink
fix: update ellipses address length for Desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
Tien Nam Dao committed Feb 23, 2023
1 parent 2573984 commit a17f643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const CONFIG = {
APPROXIMATE_ZERO: 10 ** -6,
TXS_MOBILE_SPLIT_LENGTH: 12,
TXS_DESKTOP_SPLIT_LENGTH: 24
TXS_DESKTOP_SPLIT_LENGTH: 18
}

export const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000'
2 changes: 1 addition & 1 deletion views/transactions/TransactionBriefRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default function TransactionBriefRow({
href={LinkMaker.address(to)}
fontSize="money-2xs"
>
{ellipseBetweenText(to)}
{ellipseBetweenText(to, 6, 6)}
</Typography.LinkText>
</>
)}
Expand Down

0 comments on commit a17f643

Please sign in to comment.