Skip to content

Commit

Permalink
fix: account for price in usd value of collateral repay action box pr…
Browse files Browse the repository at this point in the history
…eview
  • Loading branch information
chambaz committed Jan 9, 2025
1 parent 5fc8eef commit 4e10b76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function getAmountUsdStat(
label: "USD Value",
value: () => (
<>
{tokenPriceFormatter(currentAmount)}
{tokenPriceFormatter(currentAmount * price)}
{simulatedAmount !== undefined ? <IconArrowRight width={12} height={12} /> : <></>}
{simulatedAmount !== undefined ? tokenPriceFormatter(simulatedAmount * price) : <></>}
</>
Expand Down

0 comments on commit 4e10b76

Please sign in to comment.