mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Update setRpcTarget
parameter name (#9585)
The `network` parameter of `setRpcTarget` was changed to `chainId` in a recent commit, but there was an interim variable that we forgot to rename.
This commit is contained in:
parent
00c8609f95
commit
c11b7cc5ea
@ -34,8 +34,8 @@ function mapDispatchToProps (dispatch) {
|
|||||||
setProviderType: (type) => {
|
setProviderType: (type) => {
|
||||||
dispatch(actions.setProviderType(type))
|
dispatch(actions.setProviderType(type))
|
||||||
},
|
},
|
||||||
setRpcTarget: (target, network, ticker, nickname) => {
|
setRpcTarget: (target, chainId, ticker, nickname) => {
|
||||||
dispatch(actions.setRpcTarget(target, network, ticker, nickname))
|
dispatch(actions.setRpcTarget(target, chainId, ticker, nickname))
|
||||||
},
|
},
|
||||||
delRpcTarget: (target) => {
|
delRpcTarget: (target) => {
|
||||||
dispatch(actions.delRpcTarget(target))
|
dispatch(actions.delRpcTarget(target))
|
||||||
|
Loading…
Reference in New Issue
Block a user