Skip to content

Commit

Permalink
🥅 Guard undefined isHidden
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Dec 22, 2024
1 parent 4c2aa39 commit 7c83128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/nft.js
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ export default {
},
isNFTHidden() {
return (
this.getNFTBookStoreInfoByClassId(this.classId).isHidden ||
this.getNFTBookStoreInfoByClassId(this.classId)?.isHidden ||
this.getNFTClassHiddenSetByAddress(this.iscnOwner)?.has(this.classId)
);
},
Expand Down

0 comments on commit 7c83128

Please sign in to comment.