mirror of
https://github.com/oceanprotocol/react.git
synced 2024-12-23 17:54:03 +01:00
correct config on connect
This commit is contained in:
parent
56a9531f3e
commit
0498e3ae75
@ -105,8 +105,8 @@ function OceanProvider({
|
||||
setChainId(chainId)
|
||||
Logger.log('chain id ', chainId)
|
||||
|
||||
config.web3Provider = web3
|
||||
const ocean = await Ocean.getInstance(config)
|
||||
newConfig.web3Provider = web3
|
||||
const ocean = await Ocean.getInstance(newConfig)
|
||||
setOcean(ocean)
|
||||
Logger.log('Ocean instance created.', ocean)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user