Remove unused parameter

feature/default_network_editable
Dan Finlay 7 years ago
parent e73c7b907a
commit f884477abb
  1. 2
      ui/app/actions.js
  2. 2
      ui/app/app.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) => {

@ -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'),

Loading…
Cancel
Save