mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +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}
|
||||
key={`${network.id || network.chainId}-${index}`}
|
||||
selected={isCurrentNetwork}
|
||||
onClick={async () => {
|
||||
onClick={() => {
|
||||
dispatch(toggleNetworkMenu());
|
||||
if (network.providerType) {
|
||||
dispatch(setProviderType(network.providerType));
|
||||
|
Loading…
Reference in New Issue
Block a user