diff --git a/apps/admin-x-settings/src/components/settings/membership/tiers/TierDetailPreview.tsx b/apps/admin-x-settings/src/components/settings/membership/tiers/TierDetailPreview.tsx index a1d8d7a668..e9fbe60479 100644 --- a/apps/admin-x-settings/src/components/settings/membership/tiers/TierDetailPreview.tsx +++ b/apps/admin-x-settings/src/components/settings/membership/tiers/TierDetailPreview.tsx @@ -80,8 +80,8 @@ const TierDetailPreview: React.FC = ({tier, isFreeTier}) const currencySymbol = currency ? getSymbol(currency) : '$'; const benefits = tier?.benefits || []; - const monthlyPrice = currencyToDecimal(tier?.monthly_price || 0); - const yearlyPrice = currencyToDecimal(tier?.yearly_price || 0); + const monthlyPrice = currencyToDecimal(tier?.monthly_price ?? 500); + const yearlyPrice = currencyToDecimal(tier?.yearly_price ?? 5000); const yearlyDiscount = tier?.monthly_price && tier?.yearly_price ? Math.ceil(((monthlyPrice * 12 - yearlyPrice) / (monthlyPrice * 12)) * 100) : 0;