Skip to content

Commit 2ca3bab

Browse files
committed
Merge branch 'dev'
2 parents a8c4295 + 393fa6a commit 2ca3bab

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

apps/www/src/components/common/nav-dropdown.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import { useState } from "react";
44
import { usePathname, useRouter } from "next/navigation";
55

6+
import { GRAPH_THEME } from "@/constants/bookmark";
67
import { cn } from "@repo/ui";
78

89
import Icon from "./icon";
@@ -24,16 +25,16 @@ const NAVS = [
2425

2526
const BOOKMARK_THEMES = [
2627
{
27-
label: "Graph",
28-
href: "/bookmarks?theme=graph",
28+
label: "Planet",
29+
href: `/bookmarks?theme=${GRAPH_THEME.PLANET}`,
2930
},
3031
{
31-
label: "Planet",
32-
href: "/bookmarks?theme=planet",
32+
label: "Graph",
33+
href: `/bookmarks?theme=${GRAPH_THEME.GRAPH}`,
3334
},
3435
{
3536
label: "Tree",
36-
href: "/bookmarks?theme=tree",
37+
href: `/bookmarks?theme=${GRAPH_THEME.TREE}`,
3738
},
3839
];
3940

0 commit comments

Comments
 (0)