diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-06-29 09:06:10 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-06-29 09:06:10 +0800 |
commit | f3119d40f5d72d4d4dd909e3ac578b4a9c5bc1dd (patch) | |
tree | 084f44f59b1b56754f96ee5fab205d110d9fce7d /ui | |
parent | af999e2beef6cbb7ba16a341ccd23c64573611a2 (diff) | |
download | tangerine-wallet-browser-f3119d40f5d72d4d4dd909e3ac578b4a9c5bc1dd.tar tangerine-wallet-browser-f3119d40f5d72d4d4dd909e3ac578b4a9c5bc1dd.tar.gz tangerine-wallet-browser-f3119d40f5d72d4d4dd909e3ac578b4a9c5bc1dd.tar.bz2 tangerine-wallet-browser-f3119d40f5d72d4d4dd909e3ac578b4a9c5bc1dd.tar.lz tangerine-wallet-browser-f3119d40f5d72d4d4dd909e3ac578b4a9c5bc1dd.tar.xz tangerine-wallet-browser-f3119d40f5d72d4d4dd909e3ac578b4a9c5bc1dd.tar.zst tangerine-wallet-browser-f3119d40f5d72d4d4dd909e3ac578b4a9c5bc1dd.zip |
fix lint
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/app.js | 8 |
1 files 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 }), - }) + }) } } |