From 45dbd017e65e5698db4580c77d723bface0e9b63 Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 2 Oct 2017 21:58:15 -0230 Subject: Add needed iterator in tx-list and path to account in selectors. --- ui/app/components/tx-list.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ui/app/components') diff --git a/ui/app/components/tx-list.js b/ui/app/components/tx-list.js index 97d937aca..137cccf37 100644 --- a/ui/app/components/tx-list.js +++ b/ui/app/components/tx-list.js @@ -50,7 +50,11 @@ TxList.prototype.renderTransaction = function () { const { txsToRender, conversionRate } = this.props return txsToRender.length ? txsToRender.map((transaction, i) => this.renderTransactionListItem(transaction, conversionRate)) - : [h('div.tx-list-item.tx-list-item--empty', [ 'No Transactions' ])] + : [h( + 'div.tx-list-item.tx-list-item--empty', + { key: 'tx-list-none' }, + [ 'No Transactions' ], + )] } // TODO: Consider moving TxListItem into a separate component @@ -88,6 +92,7 @@ TxList.prototype.renderTransactionListItem = function (transaction, conversionRa txParams: transaction.txParams, transactionStatus, transActionId, + key: transActionId, dateString, address, transactionAmount, -- cgit v1.2.3