Skip to content

Commit

Permalink
typo compat
Browse files Browse the repository at this point in the history
  • Loading branch information
clbrge committed Aug 3, 2021
1 parent b6acfb1 commit e764272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web3-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const createStore = () => {
if (getWindowEthereum()) getWindowEthereum().autoRefreshOnNetworkChange = false
}

const setProvider = async (provider, callback?) => {
const setProvider = async (provider, callback) => {
init()
const instance = new Web3(provider)
const chainId = await instance.eth.getChainId()
Expand Down

0 comments on commit e764272

Please sign in to comment.