From 2fdb647413128fd3295ff4511b64a839fd716418 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Wed, 3 Sep 2025 18:06:42 +0600 Subject: [PATCH] fix: duplicate guides (#9110) --- 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(); ---