We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8c4295 + 393fa6a commit 2ca3babCopy full SHA for 2ca3bab
1 file changed
apps/www/src/components/common/nav-dropdown.tsx
@@ -3,6 +3,7 @@
3
import { useState } from "react";
4
import { usePathname, useRouter } from "next/navigation";
5
6
+import { GRAPH_THEME } from "@/constants/bookmark";
7
import { cn } from "@repo/ui";
8
9
import Icon from "./icon";
@@ -24,16 +25,16 @@ const NAVS = [
24
25
26
const BOOKMARK_THEMES = [
27
{
- label: "Graph",
28
- href: "/bookmarks?theme=graph",
+ label: "Planet",
29
+ href: `/bookmarks?theme=${GRAPH_THEME.PLANET}`,
30
},
31
- label: "Planet",
32
- href: "/bookmarks?theme=planet",
+ label: "Graph",
33
+ href: `/bookmarks?theme=${GRAPH_THEME.GRAPH}`,
34
35
36
label: "Tree",
- href: "/bookmarks?theme=tree",
37
+ href: `/bookmarks?theme=${GRAPH_THEME.TREE}`,
38
39
];
40
0 commit comments