From 1e250fee22d077f1b15ad5b00c9751f3f2b4dfe6 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Tue, 10 Feb 2026 18:40:46 +0300 Subject: [PATCH] Add debug logging to handleCitizensIssue --- web/src/pages/Citizens.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/src/pages/Citizens.tsx b/web/src/pages/Citizens.tsx index cc582111..289148d2 100644 --- a/web/src/pages/Citizens.tsx +++ b/web/src/pages/Citizens.tsx @@ -151,6 +151,13 @@ export default function Citizens() { } const handleCitizensIssue = () => { + // Debug log to understand the issue + console.log('handleCitizensIssue called', { + nftDetails, + citizenNFT: nftDetails.citizenNFT, + loading + }); + // Check if user has Tiki NFT if (!nftDetails.citizenNFT) { toast({