pass entire tokenData object to getTokenAddressParam (#9499)

feature/default_network_editable
Brad Decker 4 years ago committed by GitHub
parent d1e8f5db86
commit 9230d75ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/hooks/useTransactionDisplayData.js

@ -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…
Cancel
Save