|
|
|
@ -21,6 +21,7 @@ export default class TransactionList extends PureComponent { |
|
|
|
|
transactionToRetry: PropTypes.object, |
|
|
|
|
selectedToken: PropTypes.object, |
|
|
|
|
updateNetworkNonce: PropTypes.func, |
|
|
|
|
assetImages: PropTypes.object, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
componentDidMount () { |
|
|
|
@ -44,8 +45,8 @@ export default class TransactionList extends PureComponent { |
|
|
|
|
|
|
|
|
|
renderTransactions () { |
|
|
|
|
const { t } = this.context |
|
|
|
|
const { pendingTransactions = [], completedTransactions = [] } = this.props |
|
|
|
|
|
|
|
|
|
const { pendingTransactions = [], completedTransactions = [], assetImages } = this.props |
|
|
|
|
console.log('REMDERING FROM TX LIST', assetImages) |
|
|
|
|
return ( |
|
|
|
|
<div className="transaction-list__transactions"> |
|
|
|
|
{ |
|
|
|
@ -79,7 +80,7 @@ export default class TransactionList extends PureComponent { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
renderTransaction (transaction, index) { |
|
|
|
|
const { selectedToken } = this.props |
|
|
|
|
const { selectedToken, assetImages } = this.props |
|
|
|
|
|
|
|
|
|
return transaction.key === TRANSACTION_TYPE_SHAPESHIFT |
|
|
|
|
? ( |
|
|
|
@ -93,6 +94,7 @@ export default class TransactionList extends PureComponent { |
|
|
|
|
key={transaction.id} |
|
|
|
|
showRetry={this.shouldShowRetry(transaction)} |
|
|
|
|
token={selectedToken} |
|
|
|
|
assetImages={assetImages} |
|
|
|
|
/> |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|