Skip to content

Commit

Permalink
fix(suite): remove +/- from 0 values of crypto and fiat sums in day h…
Browse files Browse the repository at this point in the history
…eader
  • Loading branch information
AdamSchinzel committed May 15, 2024
1 parent 9e0bee6 commit 0282f40
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ export const DayHeader = ({
/>
</ColDate>
<ColAmount $isVisible={isHovered}>
{totalAmount.gte(0) && <span>+</span>}
{totalAmount.gt(0) && <span>+</span>}
<FormattedCryptoAmount value={totalAmount.toFixed()} symbol={symbol} />
</ColAmount>
{showFiatValue && !isMissingFiatRates && (
<ColFiat>
<HiddenPlaceholder>
{totalFiatAmountPerDay.gte(0) && <span>+</span>}
{totalFiatAmountPerDay.gt(0) && <span>+</span>}
<FiatAmountFormatter
currency={localCurrency}
value={totalFiatAmountPerDay.toFixed()}
Expand Down

0 comments on commit 0282f40

Please sign in to comment.