From d52e6ffcccf12bfbd4c04a4d003d01a5d9d89e0a Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Wed, 3 Sep 2025 18:03:24 +0600 Subject: [PATCH] fix: duplicate guides --- src/pages/index.astro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 658bd2677..fea010cda 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -34,10 +34,11 @@ export const projectGroups = [ }, ]; -const guides = await listOfficialGuides(); -const questionGuides = guides.filter( +const allGuides = await listOfficialGuides(); +const questionGuides = allGuides.filter( (guide) => guide.roadmapId === 'questions', ); +const guides = allGuides.filter((guide) => guide.roadmapId !== 'questions'); const videos = await getAllVideos(); ---