From 1be26638fc867777d4db7a0bc5ba131f082ffe8f Mon Sep 17 00:00:00 2001 From: javayhu Date: Sat, 23 Aug 2025 08:23:54 +0800 Subject: [PATCH] chore: update billing card rendering logic to include payment data check --- src/components/settings/billing/billing-card.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/settings/billing/billing-card.tsx b/src/components/settings/billing/billing-card.tsx index 494dbbc..8b2f95b 100644 --- a/src/components/settings/billing/billing-card.tsx +++ b/src/components/settings/billing/billing-card.tsx @@ -100,7 +100,7 @@ export default function BillingCard() { // Render loading skeleton if not mounted or in a loading state const isPageLoading = isLoadingPayment || isLoadingSession; - if (!mounted || isPageLoading) { + if (!mounted || isPageLoading || !paymentData) { return (