diff --git a/new-docs/sidebar.ts b/new-docs/sidebar.ts index 2853661c..e11f5b48 100644 --- a/new-docs/sidebar.ts +++ b/new-docs/sidebar.ts @@ -17,7 +17,7 @@ function generateSidebar(dirPath: string, parentDir: string): SidebarItem[] { const fileName = entry.name.replace(".stories.mdx", ""); if (fileName === "index") { items.unshift({ - text: capitalize(fileName.replace(/-/g, " ")), + text: 'Primary', link: parentDir, }); } else {