Apply address highlighting to token names
This commit is contained in:
parent
83af14259b
commit
bd42170050
|
@ -57,15 +57,17 @@ const TokenTransferItem: React.FC<TokenTransferItemProps> = ({
|
||||||
decimals={tokenMetas[t.token].decimals}
|
decimals={tokenMetas[t.token].decimals}
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<DecoratedAddressLink
|
<AddressHighlighter address={t.token}>
|
||||||
address={t.token}
|
<DecoratedAddressLink
|
||||||
text={
|
address={t.token}
|
||||||
tokenMetas[t.token]
|
text={
|
||||||
? `${tokenMetas[t.token].name} (${tokenMetas[t.token].symbol})`
|
tokenMetas[t.token]
|
||||||
: ""
|
? `${tokenMetas[t.token].name} (${tokenMetas[t.token].symbol})`
|
||||||
}
|
: ""
|
||||||
tokenMeta={tokenMetas[t.token]}
|
}
|
||||||
/>
|
tokenMeta={tokenMetas[t.token]}
|
||||||
|
/>
|
||||||
|
</AddressHighlighter>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue