From b8c552d6740156336c26d7d957b8eb7d079c47a3 Mon Sep 17 00:00:00 2001 From: Sandesh Katwal Date: Sat, 8 Aug 2026 18:16:03 +0545 Subject: [PATCH] :bug: fix: no icons filtered for devops category --- showcase/src/pages/icons/[category].astro | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/showcase/src/pages/icons/[category].astro b/showcase/src/pages/icons/[category].astro index 9f8b729..b46a209 100644 --- a/showcase/src/pages/icons/[category].astro +++ b/showcase/src/pages/icons/[category].astro @@ -10,9 +10,7 @@ import { Button } from "@/components/ui/button"; export function getStaticPaths() { return ["All", ...categoriesData].map((category) => ({ params: { - category: category - .replace("DevOps & AI/ML", "DevOps") - .replaceAll(" ", "-"), + category: category.replaceAll(" ", "-"), }, })); } @@ -34,11 +32,7 @@ const filteredIconsData = !category || category === "All" ? iconsData : iconsData.filter((icon) => - icon.categories.includes( - category - .replace("DevOps", "DevOps & AI/ML") - .replaceAll("-", " ") as CategoryType, - ), + icon.categories.includes(category.replaceAll("-", " ") as CategoryType), ); ---