Skip to content

Commit d3d52ec

Browse files
committed
chore(docs): fix missing client flag, unused nav items, closing WebsiteConfiguration
1 parent 326bc97 commit d3d52ec

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed

apps/docs/src/components/DemoCode/ScssCodeEditor.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use client";
2+
13
import { CodeEditor } from "@react-md/code/CodeEditor";
24
import { CodeEditorCopyToClipboard } from "@react-md/code/CodeEditorCopyToClipboard";
35
import { CodeEditorProgress } from "@react-md/code/CodeEditorProgress";

apps/docs/src/components/MainLayout/WebsiteConfiguration.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export function WebsiteConfiguration(): ReactElement {
7272
theme: "secondary",
7373
themeType: "contained",
7474
})}
75+
onClick={disable}
7576
>
7677
Edit Website Colors
7778
</Link>

apps/docs/src/components/MainLayout/navItems.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -959,23 +959,6 @@ export const navItems: readonly NavigationItem[] = [
959959
},
960960
],
961961
},
962-
{
963-
type: "group",
964-
href: "/styling",
965-
children: "Styling",
966-
items: [
967-
{
968-
type: "route",
969-
href: "/class-name-functions",
970-
children: "Class Name Functions",
971-
},
972-
{
973-
type: "route",
974-
href: "/css-modules",
975-
children: "CSS Modules",
976-
},
977-
],
978-
},
979962
{
980963
type: "group",
981964
href: "/utils",

0 commit comments

Comments
 (0)