diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-06-22 04:56:04 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-06-22 04:56:04 +0800 |
commit | 8fde8a8921135112ccfdd13ce6b009755b5f71ed (patch) | |
tree | cd4ceb1dcd74a601506f92e5669e3022ca800c0c /ui/app/components/transaction-list.js | |
parent | ab15b4c8259d6f6c5ae9d1e51548d73cfc1c67cb (diff) | |
download | tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.gz tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.zst tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.zip |
Manually linted
Diffstat (limited to 'ui/app/components/transaction-list.js')
-rw-r--r-- | ui/app/components/transaction-list.js | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/ui/app/components/transaction-list.js b/ui/app/components/transaction-list.js index e1b41fb44..a1a5db475 100644 --- a/ui/app/components/transaction-list.js +++ b/ui/app/components/transaction-list.js @@ -13,7 +13,7 @@ function TransactionList () { } TransactionList.prototype.render = function () { - const { txsToRender, network, unconfTxs, unconfMsgs } = this.props + const { txsToRender, network, unconfMsgs } = this.props const transactions = txsToRender.concat(unconfMsgs) .sort((a, b) => b.time - a.time) @@ -49,8 +49,8 @@ TransactionList.prototype.render = function () { }, }, ( - transactions.length ? - transactions.map((transaction, i) => { + transactions.length + ? transactions.map((transaction, i) => { return h(TransactionListItem, { transaction, i, network, showTx: (txId) => { @@ -58,12 +58,11 @@ TransactionList.prototype.render = function () { }, }) }) - : - [h('.flex-center', { - style: { - height: '100%', - }, - }, 'No transaction history...')] + : [h('.flex-center', { + style: { + height: '100%', + }, + }, 'No transaction history...')] )), ]) ) |