mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
UX: Remove unwanted async callback (#20065)
This commit is contained in:
parent
235fe518d4
commit
19d5cdb014
@ -95,7 +95,7 @@ export const NetworkListMenu = ({ onClose }) => {
|
|||||||
iconSrc={network?.rpcPrefs?.imageUrl}
|
iconSrc={network?.rpcPrefs?.imageUrl}
|
||||||
key={`${network.id || network.chainId}-${index}`}
|
key={`${network.id || network.chainId}-${index}`}
|
||||||
selected={isCurrentNetwork}
|
selected={isCurrentNetwork}
|
||||||
onClick={async () => {
|
onClick={() => {
|
||||||
dispatch(toggleNetworkMenu());
|
dispatch(toggleNetworkMenu());
|
||||||
if (network.providerType) {
|
if (network.providerType) {
|
||||||
dispatch(setProviderType(network.providerType));
|
dispatch(setProviderType(network.providerType));
|
||||||
|
Loading…
Reference in New Issue
Block a user