Apply address highlighting to token names

This commit is contained in:
Willian Mitsuda 2021-07-19 15:00:15 -03:00
parent 83af14259b
commit bd42170050
1 changed files with 11 additions and 9 deletions

View File

@ -57,6 +57,7 @@ const TokenTransferItem: React.FC<TokenTransferItemProps> = ({
decimals={tokenMetas[t.token].decimals} decimals={tokenMetas[t.token].decimals}
/> />
</span> </span>
<AddressHighlighter address={t.token}>
<DecoratedAddressLink <DecoratedAddressLink
address={t.token} address={t.token}
text={ text={
@ -66,6 +67,7 @@ const TokenTransferItem: React.FC<TokenTransferItemProps> = ({
} }
tokenMeta={tokenMetas[t.token]} tokenMeta={tokenMetas[t.token]}
/> />
</AddressHighlighter>
</div> </div>
</div> </div>
</div> </div>