From f57cbe59fc9e0d3cfb3ee54da749470248fe2b8b Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Mon, 22 Aug 2016 14:36:21 -0700 Subject: Removed view more button, added account info button. Also: - Also fixed bug that caused React warning when rendering the tx history. - Renamed 'Transactions' to 'History', since it now has more than that. --- ui/app/components/shift-list-item.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ui/app/components/shift-list-item.js') diff --git a/ui/app/components/shift-list-item.js b/ui/app/components/shift-list-item.js index 11e11cd37..c92181d5d 100644 --- a/ui/app/components/shift-list-item.js +++ b/ui/app/components/shift-list-item.js @@ -26,6 +26,10 @@ function ShiftListItem () { } ShiftListItem.prototype.render = function () { + var props = this.props + const { depositAddress, time, i, response } = props + const { transaction } = response + return ( h('.transaction-list-item.flex-row', { style: { -- cgit From 17f3f90d805d91aedac517c8d6607a1f337c6525 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Mon, 22 Aug 2016 17:21:54 -0700 Subject: Linted --- ui/app/components/shift-list-item.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ui/app/components/shift-list-item.js') diff --git a/ui/app/components/shift-list-item.js b/ui/app/components/shift-list-item.js index c92181d5d..1c64a86b2 100644 --- a/ui/app/components/shift-list-item.js +++ b/ui/app/components/shift-list-item.js @@ -27,8 +27,7 @@ function ShiftListItem () { ShiftListItem.prototype.render = function () { var props = this.props - const { depositAddress, time, i, response } = props - const { transaction } = response + const { response } = props return ( h('.transaction-list-item.flex-row', { @@ -117,7 +116,6 @@ ShiftListItem.prototype.renderUtilComponents = function () { default: return '' } - } ShiftListItem.prototype.renderInfo = function () { -- cgit From 5d24621b56427bffde26ab9281bd6990a04bbfef Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Mon, 22 Aug 2016 17:37:16 -0700 Subject: More linting --- ui/app/components/shift-list-item.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'ui/app/components/shift-list-item.js') diff --git a/ui/app/components/shift-list-item.js b/ui/app/components/shift-list-item.js index 1c64a86b2..38c19eb28 100644 --- a/ui/app/components/shift-list-item.js +++ b/ui/app/components/shift-list-item.js @@ -26,8 +26,6 @@ function ShiftListItem () { } ShiftListItem.prototype.render = function () { - var props = this.props - const { response } = props return ( h('.transaction-list-item.flex-row', { -- cgit