Skip to content

Commit

Permalink
Merge pull request #2 from vancelin/fix/chainConfig-of-wallet_addEthe…
Browse files Browse the repository at this point in the history
…reumChain

fix: chainConfig format error when trying to call wallet_addEthereumC…
  • Loading branch information
neelansh15 authored Oct 31, 2022
2 parents 1a39b6a + b23ef49 commit dbe5172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/useMetaMaskWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const switchOrAddChain = async (
params: [
{
chainId: chainIdHex,
chainConfig,
...chainConfig,
},
],
});
Expand Down

0 comments on commit dbe5172

Please sign in to comment.