From 4079ff9abec49d587964d889c3167d3d41177f0b Mon Sep 17 00:00:00 2001 From: Fernando Date: Wed, 9 Dec 2020 20:25:20 -0300 Subject: [PATCH] add missing parameters to TransferDescription (#1686) --- .../TxsTable/ExpandedTx/TxDescription/index.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/routes/safe/components/Transactions/TxsTable/ExpandedTx/TxDescription/index.tsx b/src/routes/safe/components/Transactions/TxsTable/ExpandedTx/TxDescription/index.tsx index 848cf6ff..789aa29d 100644 --- a/src/routes/safe/components/Transactions/TxsTable/ExpandedTx/TxDescription/index.tsx +++ b/src/routes/safe/components/Transactions/TxsTable/ExpandedTx/TxDescription/index.tsx @@ -7,7 +7,7 @@ import SettingsDescription from './SettingsDescription' import CustomDescription from './CustomDescription' import TransferDescription from './TransferDescription' -import { getTxAmount } from 'src/routes/safe/components/Transactions/TxsTable/columns' +import { getRawTxAmount, getTxAmount } from 'src/routes/safe/components/Transactions/TxsTable/columns' import Block from 'src/components/layout/Block' import { Transaction, TransactionTypes } from 'src/logic/safe/store/models/types/transaction' @@ -33,8 +33,9 @@ const UpgradeDescriptionTx = ({ tx }: { tx: Transaction }): React.ReactElement = const TransferDescriptionTx = ({ tx }: { tx: Transaction }): React.ReactElement => { const amountWithSymbol = getTxAmount(tx, false) - const { recipient, isTokenTransfer = false } = getTxData(tx) - return + const rawAmount = getRawTxAmount(tx) + const { recipient, isTokenTransfer = false, tokenAddress } = getTxData(tx) + return } const TxDescription = ({ tx }: { tx: Transaction }): React.ReactElement => {