From ecb0f9767bff2ee39ef807889056daebfe349e51 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Thu, 7 Jul 2016 13:48:52 -0700 Subject: Add new test state with tx history. Fix alignment issue with transaction history text. --- ui/app/components/transaction-list-item.js | 3 ++- ui/app/reducers.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'ui') diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js index b1fc0d5f3..0cd2f32a7 100644 --- a/ui/app/components/transaction-list-item.js +++ b/ui/app/components/transaction-list-item.js @@ -68,7 +68,8 @@ TransactionListItem.prototype.render = function () { recipientField(txParams, transaction, isTx, isMsg), ]), - transaction.hash ? h(CopyButton, { value: transaction.hash }) : null, + // Places a copy button if tx is successful, else places a placeholder empty div. + transaction.hash ? h(CopyButton, { value: transaction.hash }) : h('div', {style: { display: 'flex', alignItems: 'center', width: '26px' }}), isTx ? h(EtherBalance, { value: txParams.value, diff --git a/ui/app/reducers.js b/ui/app/reducers.js index f198758ea..f8b192af3 100644 --- a/ui/app/reducers.js +++ b/ui/app/reducers.js @@ -35,6 +35,6 @@ function rootReducer (state, action) { state.appState = reduceApp(state, action) + console.log(JSON.stringify(state, null, 2)) return state } - -- cgit