aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/app/actions.js2
-rw-r--r--ui/app/app.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index fca34d624..0a9d347aa 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -706,7 +706,7 @@ function markAccountsFound () {
//
// default rpc target refers to localhost:8545 in this instance.
-function setDefaultRpcTarget (rpcList) {
+function setDefaultRpcTarget () {
log.debug(`background.setDefaultRpcTarget`)
return (dispatch) => {
background.setDefaultRpc((err, result) => {
diff --git a/ui/app/app.js b/ui/app/app.js
index f67335797..aadaa6f03 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -267,7 +267,7 @@ App.prototype.renderNetworkDropdown = function () {
DropdownMenuItem,
{
closeMenu: () => this.setState({ isNetworkMenuOpen: !isOpen }),
- onClick: () => props.dispatch(actions.setDefaultRpcTarget(rpcList)),
+ onClick: () => props.dispatch(actions.setDefaultRpcTarget()),
},
[
h('i.fa.fa-question-circle.fa-lg.menu-icon'),