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}`; ---
@@ -37,19 +37,38 @@ const categoryId = `category-${childCategory}-${childVersion}`; diff --git a/src/components/Layout/LeftSidebar/Sidebar.astro b/src/components/Layout/LeftSidebar/Sidebar.astro index 167b4eaed..4339676db 100644 --- a/src/components/Layout/LeftSidebar/Sidebar.astro +++ b/src/components/Layout/LeftSidebar/Sidebar.astro @@ -22,20 +22,18 @@ const sidebar = languageTree[lang as Languages]; ---