fix loading enumerated

enumerate
lza_menace 2 years ago
parent 8c4cb0e82a
commit 125132ef00

@ -67,6 +67,7 @@
const enumerateTokens = async () => { const enumerateTokens = async () => {
enumeratePending = true; enumeratePending = true;
enumeratedTokens = [];
try { try {
setupContracts(); setupContracts();
} catch(e) { } catch(e) {
@ -80,10 +81,10 @@
enumeratedTokens.push(Number(tokenId)); enumeratedTokens.push(Number(tokenId));
} }
} catch(e) { } catch(e) {
console.log(e); errorMessage = 'Unable to enumerate tokens for this contract.';
return false;
} }
enumeratePending = false; enumeratePending = false;
enumeratedTokens = enumeratedTokens;
} }
const approveShipIt = async () => { const approveShipIt = async () => {

Loading…
Cancel
Save