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