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