Skip to content

Commit

Permalink
fix: confirm screen shows wrong buyAsset (#8495)
Browse files Browse the repository at this point in the history
* fix: confirm screen buyAsset

* fix: new trede flow

* chore: trigger ci
  • Loading branch information
NeOMakinG authored Jan 7, 2025
1 parent 47552e1 commit 281e613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export const MultiHopTradeConfirm = memo(() => {
isArbitrumBridgeWithdraw ? 'bridge.arbitrum.success.tradeSuccess' : undefined
}
sellAsset={activeQuote?.steps[0].sellAsset}
buyAsset={activeQuote?.steps[0].buyAsset}
buyAsset={lastHop.buyAsset}
sellAmountCryptoPrecision={fromBaseUnit(
activeQuote.steps[0].sellAmountIncludingProtocolFeesCryptoBaseUnit,
activeQuote.steps[0].sellAsset.precision,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const TradeConfirm = () => {
isArbitrumBridgeWithdraw ? 'bridge.arbitrum.success.tradeSuccess' : undefined
}
sellAsset={activeQuote?.steps[0].sellAsset}
buyAsset={activeQuote?.steps[0].buyAsset}
buyAsset={tradeQuoteLastHop.buyAsset}
sellAmountCryptoPrecision={fromBaseUnit(
activeQuote.steps[0].sellAmountIncludingProtocolFeesCryptoBaseUnit,
activeQuote.steps[0].sellAsset.precision,
Expand Down

0 comments on commit 281e613

Please sign in to comment.