From 2267e8c7665599abaa3ac7e456b61019fa1ca863 Mon Sep 17 00:00:00 2001 From: Jiexi Luan Date: Tue, 26 Nov 2024 11:48:07 -0800 Subject: [PATCH] revert dispatch --- .../multichain/network-list-menu/network-list-menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/components/multichain/network-list-menu/network-list-menu.tsx b/ui/components/multichain/network-list-menu/network-list-menu.tsx index 2ca946bbd1f5..8b18170adc6c 100644 --- a/ui/components/multichain/network-list-menu/network-list-menu.tsx +++ b/ui/components/multichain/network-list-menu/network-list-menu.tsx @@ -297,7 +297,7 @@ export const NetworkListMenu = ({ onClose }: { onClose: () => void }) => { } if (permittedAccountAddresses.length > 0) { - dispatch(grantPermittedChain(selectedTabOrigin, network.chainId)); + grantPermittedChain(selectedTabOrigin, network.chainId); if (!permittedChainIds.includes(network.chainId)) { dispatch(showPermittedNetworkToast()); }