diff options
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, }), |