Skip to content

Commit

Permalink
feat: remove explicit call the setChainIdInternal
Browse files Browse the repository at this point in the history
  • Loading branch information
solidovic committed Jan 9, 2025
1 parent 8518b14 commit 7bd5d75
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/web3/web3-provider/dapp-chain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ export const SupportL2Chains: React.FC<React.PropsWithChildren> = ({

const handleSetChainId = useCallback<React.Dispatch<number>>(
(newChainId) => {
setChainIdInternal(newChainId);
switchChain({ chainId: newChainId });
},
[switchChain],
Expand Down

0 comments on commit 7bd5d75

Please sign in to comment.