A decentralized music tracking and discovery platform built on AT Protocol 🎵

Deduplicate artist tags before slicing

+8 -5
+8 -5
apps/web/src/pages/profile/Profile.tsx
··· 74 74 if (!artists) { 75 75 return []; 76 76 } 77 - return artists 78 - .filter((x) => x.tags) 79 - .map((x) => x.tags) 80 - .flat() 81 - .slice(0, 20); 77 + return Array.from( 78 + new Set( 79 + artists 80 + .filter((x) => x.tags) 81 + .map((x) => x.tags) 82 + .flat(), 83 + ), 84 + ).slice(0, 20); 82 85 }, [artists]); 83 86 84 87 const onFollow = () => {