diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-03-08 02:25:50 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-03-08 02:25:50 +0800 |
commit | 2a98beb87877619ad123281facab3e22dec64fab (patch) | |
tree | dd9b41ec95d7cf96a1cb448d4c11940927d9f46e /ui/app/app.js | |
parent | e66035254f1778ec8e614cabecaf1a9493509888 (diff) | |
download | tangerine-wallet-browser-2a98beb87877619ad123281facab3e22dec64fab.tar tangerine-wallet-browser-2a98beb87877619ad123281facab3e22dec64fab.tar.gz tangerine-wallet-browser-2a98beb87877619ad123281facab3e22dec64fab.tar.bz2 tangerine-wallet-browser-2a98beb87877619ad123281facab3e22dec64fab.tar.lz tangerine-wallet-browser-2a98beb87877619ad123281facab3e22dec64fab.tar.xz tangerine-wallet-browser-2a98beb87877619ad123281facab3e22dec64fab.tar.zst tangerine-wallet-browser-2a98beb87877619ad123281facab3e22dec64fab.zip |
Break out rpc update and rpclist into two reducers.
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 20f948770..2bc92b54c 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -258,9 +258,7 @@ App.prototype.renderNetworkDropdown = function () { h(DropMenuItem, { label: 'Localhost 8545', closeMenu: () => this.setState({ isNetworkMenuOpen: false }), - action: () => { - props.dispatch(actions.setRpcTarget('http://localhost:8545')) - }, + action: () => props.dispatch(actions.setDefaultRpcTarget(rpcList)), icon: h('i.fa.fa-question-circle.fa-lg'), activeNetworkRender: props.provider.rpcTarget, }), |