Skip to content

Commit 877fdbc

Browse files
BE-747 | Omit leading tilde symbol from the price impact (#4084)
* BE-747 | Omit leading tilde symbol from the price impact Omits tilde symbol from the price impact since it makes the number harder to read and understand when it's negative.
1 parent f15a4e6 commit 877fdbc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/web/components/swap-tool/trade-details.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ export const TradeDetails = observer(
201201
"text-bullish-400": !isPriceImpactHigh,
202202
})}
203203
>
204-
{!priceImpact?.toDec().isZero() && "~"}
205204
{formatPretty(priceImpact ?? new Dec(0))}
206205
</span>
207206
</div>

0 commit comments

Comments
 (0)