Fix using ustAmountIn from quote

This commit is contained in:
Karl Kempe 2022-01-27 01:47:26 +00:00
parent b4804451b2
commit 4aa0d507fe
1 changed files with 2 additions and 1 deletions

View File

@ -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);