Skip to content

Commit 4811d70

Browse files
author
MargeBot
committed
Merge branch 'MAILWEB-6591-rounding-improvements' into 'main'
Round value of promo in the CTA to avoid cents See merge request web/clients!16794
2 parents 762ad35 + fa38b65 commit 4811d70

File tree

1 file changed

+1
-1
lines changed
  • packages/components/components/topnavbar/TopNavbarPostSignupPromo/PaidUsersNudge/components/internal

1 file changed

+1
-1
lines changed

packages/components/components/topnavbar/TopNavbarPostSignupPromo/PaidUsersNudge/components/internal/NudgeOfferPromoChild.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const NudgeOfferPromoChild = ({ prices }: Props) => {
1414

1515
return prices?.savedAmount ? (
1616
<Price currency={currency} prefix={c('Offer').t`Save`} isDisplayedInSentence>
17-
{prices.savedAmount}
17+
{Math.floor(prices.savedAmount / 100).toString()}
1818
</Price>
1919
) : (
2020
c('Offer').t`Get the deal`

0 commit comments

Comments
 (0)