uniq by title
This commit is contained in:
parent
890157a6a6
commit
6fb452f56b
@ -26,7 +26,7 @@ export default function FeaturedLists() {
|
|||||||
limit: 60,
|
limit: 60,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const uniq = uniqBy((e) => e.id, events);
|
const uniq = uniqBy((e) => getTagValues("title", e.tags), events);
|
||||||
const processedEvents = uniqBy((e) => getTagValues("d", e.tags), uniq)
|
const processedEvents = uniqBy((e) => getTagValues("d", e.tags), uniq)
|
||||||
.filter(
|
.filter(
|
||||||
(a) =>
|
(a) =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user