diff --git a/src/components/Cards/CategoryCard.astro b/src/components/Cards/CategoryCard.astro index 959dca515..acdbd6b19 100644 --- a/src/components/Cards/CategoryCard.astro +++ b/src/components/Cards/CategoryCard.astro @@ -9,16 +9,16 @@ interface Props { const { child } = Astro.props; const childVersion = child?.version ?? "0"; const childCategory = child?.slug?.includes("/sdk") ? "sdk" : "api"; -const categoryId = `category-${childCategory}-${childVersion}`; +const categoryClass = `category-${childCategory}-${childVersion}`; ---