1
0
mirror of https://github.com/oceanprotocol/react.git synced 2025-02-14 21:10:38 +01:00
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
mihaisc 2020-10-27 18:39:03 +02:00
parent 84e28fda91
commit 1a1a741645
No known key found for this signature in database
GPG Key ID: 4FB0C2329B4C6E29

View File

@ -221,7 +221,8 @@ function usePricing(ddo: DDO): UsePricing {
weightOnDataToken, weightOnDataToken,
swapFee swapFee
} = priceOptions } = priceOptions
let dtAmount = priceOptions.dtAmount
let { dtAmount } = priceOptions
const isPool = type === 'dynamic' const isPool = type === 'dynamic'
if (!isPool && !config.fixedRateExchangeAddress) { if (!isPool && !config.fixedRateExchangeAddress) {