Commit 285e4f28 authored by Moody Salem's avatar Moody Salem

fix bug in fiat value price impact display

parent 3aa04530
...@@ -27,7 +27,7 @@ export function FiatValue({ ...@@ -27,7 +27,7 @@ export function FiatValue({
{fiatValue ? '~' : ''}$ {fiatValue ? '~' : ''}$
<HoverInlineText text={fiatValue ? Number(fiatValue?.toSignificant(6)).toLocaleString('en') : '-'} />{' '} <HoverInlineText text={fiatValue ? Number(fiatValue?.toSignificant(6)).toLocaleString('en') : '-'} />{' '}
{priceImpact ? ( {priceImpact ? (
<span style={{ color: priceImpactColor }}> ({priceImpact.multiply(-100).toSignificant(3)}%)</span> <span style={{ color: priceImpactColor }}> ({priceImpact.multiply(-1).toSignificant(3)}%)</span>
) : null} ) : null}
</TYPE.body> </TYPE.body>
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment