1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Fix network edition error (#13527)

* check if blockExplorer exists in rpcPrefs

* revert unnecessary change
This commit is contained in:
Guillaume Roux 2022-02-09 15:40:57 +01:00 committed by GitHub
parent d45cb6c12e
commit f82ce7ddd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -483,7 +483,7 @@ const NetworksForm = ({
networkName,
{
...rpcPrefs,
blockExplorerUrl: blockExplorerUrl || rpcPrefs.blockExplorerUrl,
blockExplorerUrl: blockExplorerUrl || rpcPrefs?.blockExplorerUrl,
},
),
);