Skip to content

Commit c93fe5d

Browse files
committed
Remove redundant duplicate filter
Signed-off-by: MissTipo <[email protected]>
1 parent 5a1899d commit c93fe5d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pages/community.astro

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ const priorityIds = [
1111
];
1212
const sketches = allSketches
1313
.filter(sk => priorityIds.includes(String(sk.visualID)))
14-
.filter((sk, index, self) =>
15-
index === self.findIndex(s => s.visualID === sk.visualID)
16-
)
1714
.slice(0, 8);
1815
const libraries = await getCollectionInDefaultLocale("libraries");
1916
const pastEvents = await getCollectionInDefaultLocale("events");

0 commit comments

Comments
 (0)