From bda95ed23f3b445c9a4a295a3be65310dae039e0 Mon Sep 17 00:00:00 2001 From: Fringg Date: Sun, 8 Mar 2026 14:26:05 +0300 Subject: [PATCH] fix: show infinity symbol for unlimited traffic on landing page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Display ∞ instead of 0 when traffic_limit_gb is 0 (unlimited), matching the pattern used in TrialOfferCard and Dashboard. --- src/pages/QuickPurchase.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/QuickPurchase.tsx b/src/pages/QuickPurchase.tsx index 537f03e..c50899d 100644 --- a/src/pages/QuickPurchase.tsx +++ b/src/pages/QuickPurchase.tsx @@ -316,7 +316,7 @@ function TariffCard({ d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3" /> - {tariff.traffic_limit_gb} {t('landing.gb', 'GB')} + {tariff.traffic_limit_gb === 0 ? '∞' : tariff.traffic_limit_gb} {t('landing.gb', 'GB')}