mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
pass entire tokenData object to getTokenAddressParam (#9499)
This commit is contained in:
parent
d1e8f5db86
commit
9230d75ab0
@ -171,7 +171,7 @@ export function useTransactionDisplayData (transactionGroup) {
|
||||
} else if (transactionCategory === TOKEN_METHOD_TRANSFER_FROM || transactionCategory === TOKEN_METHOD_TRANSFER) {
|
||||
category = TRANSACTION_CATEGORY_SEND
|
||||
title = t('sendSpecifiedTokens', [token?.symbol || t('token')])
|
||||
recipientAddress = getTokenAddressParam(tokenData.params)
|
||||
recipientAddress = getTokenAddressParam(tokenData)
|
||||
subtitle = t('toAddress', [shortenAddress(recipientAddress)])
|
||||
|
||||
} else if (transactionCategory === SEND_ETHER_ACTION_KEY) {
|
||||
|
Loading…
Reference in New Issue
Block a user