From 12d89eb647ba8450ef86d9a2897fa820a8f1fe18 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 26 May 2016 14:41:11 -0700 Subject: [PATCH] Fix network reference --- ui/app/components/transaction-list-item.js | 2 +- ui/app/components/transaction-list.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js index ac74046f3..fdb970f07 100644 --- a/ui/app/components/transaction-list-item.js +++ b/ui/app/components/transaction-list-item.js @@ -107,7 +107,7 @@ function recipientField(txParams, transaction, isTx, isMsg) { } TransactionListItem.prototype.renderMessage = function() { - const { transaction, i } = this.props + const { transaction, i, network } = this.props return h('div', 'wowie, thats a message') } diff --git a/ui/app/components/transaction-list.js b/ui/app/components/transaction-list.js index 5ebb3e563..ed2e1ee0a 100644 --- a/ui/app/components/transaction-list.js +++ b/ui/app/components/transaction-list.js @@ -52,7 +52,7 @@ TransactionList.prototype.render = function() { transactions.length ? transactions.map((transaction, i) => { return h(TransactionListItem, { - transaction, i, + transaction, i, network, showTx:(txId) => { this.props.viewPendingTx(txId) },