1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-13 16:54:53 +01:00

fetching correct network config

This commit is contained in:
mihaisc 2020-08-11 15:31:06 +03:00
parent 30906e63b4
commit 69d0b14903

View File

@ -11,13 +11,12 @@ export function NetworkMonitor() {
// temp hack
let network = ''
switch (chainId) {
case 1:
{
case 1: {
network = 'mainnet'
}
case 4: {
network = 'rinkeby'
}
network = 'rinkeby'
}
}
const config = getOceanConfig(network)
connect(config)