boshjerns
boshjerns
33 | } 34 | async function checkIfClaimed() { > 35 | sampleNFT.methods.claimed(account).call({ from: account }).then((result) => { | ^ 36 | setAlreadyClaimed(result); 37 | }).catch((err) => { 38 |...
file:///C:/Users/josh/Downloads/sqddd/Rarity-Ranking-NFT-main/generator/main.js:56 let nftTraits = metadata[j].map((e) => e.trait_type); ^ TypeError: Cannot read properties of undefined (reading 'map') at generateRarity (file:///C:/Users/josh/Downloads/sqddd/Rarity-Ranking-NFT-main/generator/main.js:56:29) at processTicksAndRejections (node:internal/process/task_queues:96:5)