nft-merkle-allowlist-scaffold icon indicating copy to clipboard operation
nft-merkle-allowlist-scaffold copied to clipboard

Unhandled Runtime Error- TypeError: Cannot read properties of undefined (reading 'methods') : Any idea what's going on?

Open boshjerns opened this issue 2 years ago • 0 comments

33 | } 34 | async function checkIfClaimed() {

35 | sampleNFT.methods.claimed(account).call({ from: account }).then((result) => { | ^ 36 | setAlreadyClaimed(result); 37 | }).catch((err) => { 38 | setAlreadyClaimed(false);

boshjerns avatar Jul 17 '22 15:07 boshjerns