mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
effect dependencies
This commit is contained in:
parent
2c27d955d9
commit
4585fecb1f
@ -53,7 +53,7 @@ export default function Dynamic({
|
|||||||
.times(foo)
|
.times(foo)
|
||||||
.div(new Decimal(1).minus(new Decimal(swapFee)))
|
.div(new Decimal(1).minus(new Decimal(swapFee)))
|
||||||
setFirstPrice(`${tokenAmountIn}`)
|
setFirstPrice(`${tokenAmountIn}`)
|
||||||
}, [swapFee, weightOnOcean, weightOnDataToken])
|
}, [swapFee, weightOnOcean, weightOnDataToken, dtAmount, oceanAmount])
|
||||||
|
|
||||||
// Check: account, network & insufficient balance
|
// Check: account, network & insufficient balance
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user