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:
parent
e73c7b907a
commit
f884477abb
@ -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…
Reference in New Issue
Block a user