From 4c1d22b9359cd21848c0c78ab71a8ebf9f65b203 Mon Sep 17 00:00:00 2001 From: Randall Stillwell Date: Wed, 9 Sep 2026 14:06:37 -0500 Subject: [PATCH] =?UTF-8?q?fix(my-cards):=20collection=20display=20?= =?UTF-8?q?=E2=80=94=20summary=20+=20cards.map=20+=20empty-state=20+=20deb?= =?UTF-8?q?ug=20guard;=20branch=20fix/my-cards-collection-display?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/my-cards.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pages/my-cards.js b/pages/my-cards.js index 790c7b3..cefcdde 100644 --- a/pages/my-cards.js +++ b/pages/my-cards.js @@ -411,11 +411,16 @@ export default function MyCards() { {/* Cards Grid */}
+ {cards.length === 0 && !loading && ( +
+

No cards loaded from /api/cards/owned (summary shows {collectionSummary?.totalCards ?? 'N/A'} via /api/user/stats).

+
+ )} {cards.map((card) => ( +