mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix RPC Url editing issue of existing network (#17451)
This commit is contained in:
parent
5e863a297f
commit
83a3ce1aa0
@ -574,7 +574,7 @@ const NetworksForm = ({
|
|||||||
const deletable = !isCurrentRpcTarget && !viewOnly && !addNewNetwork;
|
const deletable = !isCurrentRpcTarget && !viewOnly && !addNewNetwork;
|
||||||
const stateUnchanged = stateIsUnchanged();
|
const stateUnchanged = stateIsUnchanged();
|
||||||
const chainIdErrorOnFeaturedRpcDuringEdit =
|
const chainIdErrorOnFeaturedRpcDuringEdit =
|
||||||
selectedNetwork?.rpcUrl && warnings.chainId && chainIdMatchesFeaturedRPC;
|
selectedNetwork?.rpcUrl && errors.chainId && chainIdMatchesFeaturedRPC;
|
||||||
const isSubmitDisabled =
|
const isSubmitDisabled =
|
||||||
hasErrors() ||
|
hasErrors() ||
|
||||||
isSubmitting ||
|
isSubmitting ||
|
||||||
|
Loading…
Reference in New Issue
Block a user