mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-13 16:54:53 +01:00
test fix
This commit is contained in:
parent
3c1c6418d9
commit
cb4b3d0bc9
@ -1,7 +1,5 @@
|
||||
import React from 'react'
|
||||
import React, { useEffect } from 'react'
|
||||
import { useOcean } from '@oceanprotocol/react'
|
||||
import { ConfigHelper } from '@oceanprotocol/lib'
|
||||
import { useEffect } from 'react'
|
||||
import { getOceanConfig } from './wrapRootElement'
|
||||
|
||||
export function NetworkMonitor() {
|
||||
@ -13,9 +11,11 @@ export function NetworkMonitor() {
|
||||
switch (chainId) {
|
||||
case 1: {
|
||||
network = 'mainnet'
|
||||
break
|
||||
}
|
||||
case 4: {
|
||||
network = 'rinkeby'
|
||||
break
|
||||
}
|
||||
}
|
||||
const config = getOceanConfig(network)
|
||||
|
Loading…
Reference in New Issue
Block a user