1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 10:30:04 +01:00

Remove unused parameter

This commit is contained in:
Dan Finlay 2017-07-27 14:07:36 -07:00
parent e73c7b907a
commit f884477abb
2 changed files with 2 additions and 2 deletions

View File

@ -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) => {

View File

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