Fix using ustAmountIn from quote
This commit is contained in:
parent
b4804451b2
commit
4aa0d507fe
|
@ -299,7 +299,8 @@ export default function Home() {
|
|||
);
|
||||
setAmountInUST(
|
||||
parseFloat(
|
||||
executor.tokens.dstIn.formatAmount(quote.dst.amountIn)
|
||||
//executor.tokens.dstIn.formatAmount(quote.dst.amountIn)
|
||||
quote.ustAmountIn
|
||||
).toFixed(2)
|
||||
);
|
||||
setHasQuote(true);
|
||||
|
|
Loading…
Reference in New Issue