Skip to content

Commit 4df991a

Browse files
committed
fix: format currency fraction digit
1 parent 87f4c43 commit 4df991a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/pages/settings/transaction-shield-tab/transaction-shield.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,8 @@ const TransactionShield = () => {
882882
getProductPrice(productInfo as Product),
883883
productInfo?.currency.toUpperCase(),
884884
{
885-
maximumFractionDigits: 0,
885+
maximumFractionDigits: 2,
886+
minimumFractionDigits: 0,
886887
},
887888
)} (${displayedShieldSubscription.interval === RECURRING_INTERVALS.year ? t('shieldPlanAnnual') : t('shieldPlanMonthly')})`,
888889
'shield-detail-charges',

0 commit comments

Comments
 (0)