mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-14 07:51:01 +00:00
Add debug logging to handleCitizensIssue
This commit is contained in:
@@ -151,6 +151,13 @@ export default function Citizens() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const handleCitizensIssue = () => {
|
const handleCitizensIssue = () => {
|
||||||
|
// Debug log to understand the issue
|
||||||
|
console.log('handleCitizensIssue called', {
|
||||||
|
nftDetails,
|
||||||
|
citizenNFT: nftDetails.citizenNFT,
|
||||||
|
loading
|
||||||
|
});
|
||||||
|
|
||||||
// Check if user has Tiki NFT
|
// Check if user has Tiki NFT
|
||||||
if (!nftDetails.citizenNFT) {
|
if (!nftDetails.citizenNFT) {
|
||||||
toast({
|
toast({
|
||||||
|
|||||||
Reference in New Issue
Block a user