Skip to content

Commit

Permalink
🩹 Fix duplicated content types for NFT Book (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Aug 1, 2023
1 parent 2981b3b commit 89e0236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NFTBook/ItemCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default {
types.push(this.getContentUrlType(url));
});
types.push('nft');
return types.filter(type => type !== 'unknown');
return [...new Set(types.filter(type => type !== 'unknown'))];
},
componentTag() {
if (this.isDetailsPreset) return 'div';
Expand Down

0 comments on commit 89e0236

Please sign in to comment.