From f7a328a9d9488eebf80ad2b20e632c102e8d565a Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Tue, 30 Mar 2021 12:55:29 -0230 Subject: [PATCH] Ensure that priceSlippage fiat amounts are always shown in view-quote.js (#10762) --- ui/app/pages/swaps/view-quote/view-quote.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/app/pages/swaps/view-quote/view-quote.js b/ui/app/pages/swaps/view-quote/view-quote.js index d4c47cd14..2d7648e90 100644 --- a/ui/app/pages/swaps/view-quote/view-quote.js +++ b/ui/app/pages/swaps/view-quote/view-quote.js @@ -518,9 +518,11 @@ export default function ViewQuote() { let viewQuotePriceDifferenceComponent = null; const priceSlippageFromSource = useEthFiatAmount( usedQuote?.priceSlippage?.sourceAmountInETH || 0, + { showFiat: true }, ); const priceSlippageFromDestination = useEthFiatAmount( usedQuote?.priceSlippage?.destinationAmountInETH || 0, + { showFiat: true }, ); // We cannot present fiat value if there is a calculation error or no slippage