From c11b7cc5ea7567dce123cb359efe88b985edb7a9 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Tue, 13 Oct 2020 16:37:29 -0230 Subject: [PATCH] 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. --- ui/app/components/app/dropdowns/network-dropdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/components/app/dropdowns/network-dropdown.js b/ui/app/components/app/dropdowns/network-dropdown.js index 0f566671f..0bd9aed86 100644 --- a/ui/app/components/app/dropdowns/network-dropdown.js +++ b/ui/app/components/app/dropdowns/network-dropdown.js @@ -34,8 +34,8 @@ function mapDispatchToProps (dispatch) { setProviderType: (type) => { dispatch(actions.setProviderType(type)) }, - setRpcTarget: (target, network, ticker, nickname) => { - dispatch(actions.setRpcTarget(target, network, ticker, nickname)) + setRpcTarget: (target, chainId, ticker, nickname) => { + dispatch(actions.setRpcTarget(target, chainId, ticker, nickname)) }, delRpcTarget: (target) => { dispatch(actions.delRpcTarget(target))