Skip to content

Commit

Permalink
Merge pull request #333 from zkLinkProtocol/preview
Browse files Browse the repository at this point in the history
update for zkl issue
  • Loading branch information
MickWang authored Jul 22, 2024
2 parents 3f34e18 + 904e479 commit c709a21
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/DashboardS2/Tabs/Assets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@ export default function Assets(props: IAssetsTableProps) {
!obj?.iconURL || obj.iconURL === ""
? getIconUrlByL2Address(chains.l2Address)
: obj.iconURL;

if (obj.symbol === "ZKL") {
obj.iconURL = "https://etherscan.io/token/images/zklink_32.png";
}
});

// not WETH
Expand Down Expand Up @@ -507,10 +511,11 @@ export default function Assets(props: IAssetsTableProps) {
<div className="col-line"></div>

<div className="list-content-item text-center">
{formatNumberWithUnit(item?.totalAmount)}
{/* {formatNumberWithUnit(item?.totalAmount)}
<span className="text-gray">
({formatNumberWithUnit(item?.totalTvl, "$")})
</span>
</span> */}
-
</div>
<div className="col-line"></div>

Expand Down

0 comments on commit c709a21

Please sign in to comment.