aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-08-23 08:21:54 +0800
committerDan Finlay <dan@danfinlay.com>2016-08-23 08:21:54 +0800
commit17f3f90d805d91aedac517c8d6607a1f337c6525 (patch)
treed8570982f3dfdff5adb8bf964ac5739e720c6403 /ui
parentf57cbe59fc9e0d3cfb3ee54da749470248fe2b8b (diff)
downloadtangerine-wallet-browser-17f3f90d805d91aedac517c8d6607a1f337c6525.tar
tangerine-wallet-browser-17f3f90d805d91aedac517c8d6607a1f337c6525.tar.gz
tangerine-wallet-browser-17f3f90d805d91aedac517c8d6607a1f337c6525.tar.bz2
tangerine-wallet-browser-17f3f90d805d91aedac517c8d6607a1f337c6525.tar.lz
tangerine-wallet-browser-17f3f90d805d91aedac517c8d6607a1f337c6525.tar.xz
tangerine-wallet-browser-17f3f90d805d91aedac517c8d6607a1f337c6525.tar.zst
tangerine-wallet-browser-17f3f90d805d91aedac517c8d6607a1f337c6525.zip
Linted
Diffstat (limited to 'ui')
-rw-r--r--ui/app/account-detail.js2
-rw-r--r--ui/app/components/shift-list-item.js4
-rw-r--r--ui/app/components/transaction-list-item.js2
-rw-r--r--ui/app/components/transaction-list.js4
4 files changed, 4 insertions, 8 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js
index 4316ff54e..486a1a633 100644
--- a/ui/app/account-detail.js
+++ b/ui/app/account-detail.js
@@ -143,7 +143,7 @@ AccountDetailScreen.prototype.render = function () {
style: {
display: 'flex',
alignItems: 'center',
- }
+ },
}, [
h('img.cursor-pointer.color-orange', {
src: 'images/key-32.png',
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 () {
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js
index 2cd0f0897..1b85464e1 100644
--- a/ui/app/components/transaction-list-item.js
+++ b/ui/app/components/transaction-list-item.js
@@ -19,7 +19,7 @@ function TransactionListItem () {
}
TransactionListItem.prototype.render = function () {
- const { transaction, i, network } = this.props
+ const { transaction, network } = this.props
if (transaction.key === 'shapeshift') {
if (network === '1') return h(ShiftListItem, transaction)
}
diff --git a/ui/app/components/transaction-list.js b/ui/app/components/transaction-list.js
index 8b9004e69..fac289a80 100644
--- a/ui/app/components/transaction-list.js
+++ b/ui/app/components/transaction-list.js
@@ -2,7 +2,6 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const genAccountLink = require('../../lib/account-link')
-const extension = require('../../../app/scripts/lib/extension')
const TransactionListItem = require('./transaction-list-item')
@@ -17,12 +16,11 @@ function TransactionList () {
TransactionList.prototype.render = function () {
const { txsToRender, network, unconfMsgs, address } = this.props
var shapeShiftTxList
- if (network === '1'){
+ if (network === '1') {
shapeShiftTxList = this.props.shapeShiftTxList
}
const transactions = !shapeShiftTxList ? txsToRender.concat(unconfMsgs) : txsToRender.concat(unconfMsgs, shapeShiftTxList)
.sort((a, b) => b.time - a.time)
- const accountLink = genAccountLink(address, network)
return (