mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
fix network name during network polling
This commit is contained in:
parent
f636170e3c
commit
cbffc42bca
@ -258,7 +258,7 @@ export default class UserProvider extends PureComponent<{}, UserProviderState> {
|
||||
if (isWeb3) {
|
||||
const network = await ocean.keeper.getNetworkName()
|
||||
const isNile = network === 'Nile'
|
||||
const isDuero = network === 'Duero'
|
||||
const isDuero = network === 'Development'
|
||||
const isCorrectNetwork = isNile || isDuero
|
||||
|
||||
network !== this.state.network &&
|
||||
|
Loading…
Reference in New Issue
Block a user