From 285e4f28f5c469b81460f2af0837b9b9e1e32540 Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Wed, 12 May 2021 11:56:04 -0500 Subject: [PATCH] fix bug in fiat value price impact display --- src/components/CurrencyInputPanel/FiatValue.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CurrencyInputPanel/FiatValue.tsx b/src/components/CurrencyInputPanel/FiatValue.tsx index 76352481c9..b0051c8706 100644 --- a/src/components/CurrencyInputPanel/FiatValue.tsx +++ b/src/components/CurrencyInputPanel/FiatValue.tsx @@ -27,7 +27,7 @@ export function FiatValue({ {fiatValue ? '~' : ''}$ {' '} {priceImpact ? ( - ({priceImpact.multiply(-100).toSignificant(3)}%) + ({priceImpact.multiply(-1).toSignificant(3)}%) ) : null} )