explorer: hide rank when it is null (#21277)
This commit is contained in:
parent
47e6848fbf
commit
f707dac358
|
@ -129,9 +129,11 @@ function FungibleTokenMintAccountCard({
|
|||
<div className="card-body">
|
||||
<h4>
|
||||
Price{" "}
|
||||
{tokenPriceInfo.market_cap_rank && (
|
||||
<span className="ml-2 badge badge-primary rank">
|
||||
Rank #{tokenPriceInfo.market_cap_rank}
|
||||
</span>
|
||||
)}
|
||||
</h4>
|
||||
<h1 className="mb-0">
|
||||
${tokenPriceInfo.price.toFixed(tokenPriceDecimals)}{" "}
|
||||
|
|
Loading…
Reference in New Issue