mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
remove chainId as a dependecy on sales and liquidity in own assets useEffect (#854)
This commit is contained in:
parent
032606e61c
commit
ddb9656270
@ -59,7 +59,7 @@ export default function Stats({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
getSales()
|
getSales()
|
||||||
}, [accountId, chainIds, assets])
|
}, [accountId, assets])
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!assets || !accountId || !chainIds) return
|
if (!assets || !accountId || !chainIds) return
|
||||||
@ -84,7 +84,7 @@ export default function Stats({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
getPublisherLiquidity()
|
getPublisherLiquidity()
|
||||||
}, [assets, accountId, chainIds])
|
}, [assets, accountId])
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!poolShares) return
|
if (!poolShares) return
|
||||||
|
Loading…
Reference in New Issue
Block a user