From f3119d40f5d72d4d4dd909e3ac578b4a9c5bc1dd Mon Sep 17 00:00:00 2001 From: Frankie Date: Tue, 28 Jun 2016 18:06:10 -0700 Subject: [PATCH] fix lint --- ui/app/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/app/app.js b/ui/app/app.js index 8f3cce886..0310ec126 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -46,7 +46,7 @@ function mapStateToProps (state) { unconfMsgs: state.metamask.unconfMsgs, menuOpen: state.appState.menuOpen, network: state.metamask.network, - provider: state.metamask.provider + provider: state.metamask.provider, } } @@ -229,7 +229,7 @@ App.prototype.renderNetworkDropdown = function () { action: () => props.dispatch(actions.setRpcTarget('http://localhost:8545')), icon: h('i.fa.fa-question-circle.fa-lg', { ariaHidden: true }), }), - this.renderCustomOption(props.provider.rpcTarget) + this.renderCustomOption(props.provider.rpcTarget), ]) } @@ -359,7 +359,7 @@ App.prototype.toggleMetamaskActive = function () { } App.prototype.renderCustomOption = function (rpcTarget) { - switch(rpcTarget){ + switch (rpcTarget) { case undefined: return h(DropMenuItem, { label: 'Custom RPC', @@ -374,6 +374,6 @@ App.prototype.renderCustomOption = function (rpcTarget) { closeMenu: () => this.setState({ isNetworkMenuOpen: false }), action: () => this.props.dispatch(actions.showConfigPage()), icon: h('i.fa.fa-question-circle.fa-lg', { ariaHidden: true }), - }) + }) } }