aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-05 03:31:03 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-05 03:32:47 +0800
commitbc623bbe345a9528f9fe19af2e2440540d8e70a7 (patch)
tree31ee5c07096947794dd8010cdce46ce76f6b908f /ui/app
parent19f7041ba42a5ad806ace8286c6e0675b94ca69a (diff)
downloadtangerine-wallet-browser-bc623bbe345a9528f9fe19af2e2440540d8e70a7.tar
tangerine-wallet-browser-bc623bbe345a9528f9fe19af2e2440540d8e70a7.tar.gz
tangerine-wallet-browser-bc623bbe345a9528f9fe19af2e2440540d8e70a7.tar.bz2
tangerine-wallet-browser-bc623bbe345a9528f9fe19af2e2440540d8e70a7.tar.lz
tangerine-wallet-browser-bc623bbe345a9528f9fe19af2e2440540d8e70a7.tar.xz
tangerine-wallet-browser-bc623bbe345a9528f9fe19af2e2440540d8e70a7.tar.zst
tangerine-wallet-browser-bc623bbe345a9528f9fe19af2e2440540d8e70a7.zip
Linted
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/accounts/add.js9
-rw-r--r--ui/app/actions.js2
-rw-r--r--ui/app/components/buy-button-subview.js9
3 files changed, 8 insertions, 12 deletions
diff --git a/ui/app/accounts/add.js b/ui/app/accounts/add.js
index a750531f7..9493a4e05 100644
--- a/ui/app/accounts/add.js
+++ b/ui/app/accounts/add.js
@@ -2,7 +2,7 @@ const inherits = require('util').inherits
const Component = require('react').Component
const h = require('react-hyperscript')
const connect = require('react-redux').connect
-const actions = require('../../actions')
+const actions = require('../actions')
// Components
const TabBar = require('../components/tab-bar')
@@ -23,9 +23,6 @@ function AddAccountScreen () {
}
AddAccountScreen.prototype.render = function () {
- const props = this.props
- const state = this.state || {}
- const subview = state.subview || 'new'
return (
h('.flex-column', {
@@ -38,7 +35,7 @@ AddAccountScreen.prototype.render = function () {
style: {
alignItems: 'center',
padding: '0px 20px',
- }
+ },
}, [
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
onClick: this.goHome.bind(this),
@@ -55,7 +52,7 @@ AddAccountScreen.prototype.render = function () {
defaultTab: 'new',
tabSelected: (key) => {
this.setState({ subview: key })
- }
+ },
}),
this.renderNewOrImport(),
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 0a0a24725..f5456e0d2 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -254,7 +254,7 @@ function addNewKeyring (type, opts) {
function navigateToNewAccountScreen() {
return {
- type: this.NEW_ACCOUNT_SCREEN
+ type: this.NEW_ACCOUNT_SCREEN,
}
}
diff --git a/ui/app/components/buy-button-subview.js b/ui/app/components/buy-button-subview.js
index 4e2d3739c..4678168bb 100644
--- a/ui/app/components/buy-button-subview.js
+++ b/ui/app/components/buy-button-subview.js
@@ -30,7 +30,6 @@ function BuyButtonSubview () {
BuyButtonSubview.prototype.render = function () {
const props = this.props
- const currentForm = props.buyView.formView
const isLoading = props.isSubLoading
return (
@@ -69,7 +68,7 @@ BuyButtonSubview.prototype.render = function () {
}),
]),
],
- key: 'coinbase'
+ key: 'coinbase',
},
{
content: [
@@ -83,9 +82,9 @@ BuyButtonSubview.prototype.render = function () {
margin: '0px 5px',
},
}),
- ])
+ ]),
],
- key: 'shapeshift'
+ key: 'shapeshift',
},
],
defaultTab: 'coinbase',
@@ -98,7 +97,7 @@ BuyButtonSubview.prototype.render = function () {
props.dispatch(actions.shapeShiftSubview(props.provider.type))
break
}
- }
+ },
}),
this.formVersionSubview(),