Skip to content

Commit

Permalink
revert dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
jiexi committed Nov 26, 2024
1 parent 6adc13c commit 2267e8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 2267e8c

Please sign in to comment.