mirror of
https://github.com/oceanprotocol/react.git
synced 2024-11-23 02:00:27 +01:00
format
This commit is contained in:
parent
1f7be93bf6
commit
56a9531f3e
@ -43,7 +43,7 @@ function OceanProvider({
|
||||
}: {
|
||||
initialConfig: Config
|
||||
web3ModalOpts?: Partial<ICoreOptions>
|
||||
handleNetworkChanged: (networkId: string | number)=>Promise<void>
|
||||
handleNetworkChanged: (networkId: string | number) => Promise<void>
|
||||
children: any
|
||||
}): ReactElement {
|
||||
const [web3, setWeb3] = useState<Web3 | undefined>()
|
||||
@ -141,7 +141,6 @@ function OceanProvider({
|
||||
connect()
|
||||
}
|
||||
|
||||
|
||||
// TODO: #68 Refetch balance periodically, or figure out some event to subscribe to
|
||||
|
||||
useEffect(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user