Skip to content

Commit

Permalink
ft: v0.1.7, apply fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
neelansh15 committed Oct 31, 2022
1 parent dbe5172 commit e078fc3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions dist/vcw.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -2150,10 +2150,9 @@ const switchOrAddChain = async (chainId, chainConfig) => {
await window.ethereum.request({
method: "wallet_addEthereumChain",
params: [
{
chainId: chainIdHex,
chainConfig
}
__spreadValues({
chainId: chainIdHex
}, chainConfig)
]
});
} catch (addError) {
Expand Down
Loading

0 comments on commit e078fc3

Please sign in to comment.