mirror of
https://github.com/oceanprotocol/react.git
synced 2025-02-14 21:10:38 +01:00
format
This commit is contained in:
parent
16ab666952
commit
100903d10b
@ -12,7 +12,6 @@ export function NetworkMonitor() {
|
||||
connect(config)
|
||||
}
|
||||
useEffect(() => {
|
||||
|
||||
if (!web3Provider) return
|
||||
|
||||
web3Provider.on('chainChanged', handleNetworkChanged)
|
||||
@ -22,8 +21,5 @@ export function NetworkMonitor() {
|
||||
}
|
||||
}, [web3Provider])
|
||||
|
||||
return (
|
||||
<>
|
||||
</>
|
||||
)
|
||||
return <></>
|
||||
}
|
||||
|
@ -173,7 +173,6 @@ function OceanProvider({
|
||||
logout,
|
||||
refreshBalance
|
||||
} as OceanProviderValue
|
||||
|
||||
}
|
||||
>
|
||||
{children}
|
||||
|
Loading…
x
Reference in New Issue
Block a user