Skip to content

Commit 144bb33

Browse files
authored
[Dashboard] Move Contracts back to top level sidebar (#8412)
1 parent 01116bb commit 144bb33

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/components/ProjectSidebarLayout.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
type ShadcnSidebarLink,
1515
} from "@/components/blocks/full-width-sidebar-layout";
1616
import { BridgeIcon } from "@/icons/BridgeIcon";
17+
import { ContractIcon } from "@/icons/ContractIcon";
1718
import { NebulaIcon } from "@/icons/NebulaIcon";
1819
import { PayIcon } from "@/icons/PayIcon";
1920
import { TokenIcon } from "@/icons/TokenIcon";
@@ -54,6 +55,11 @@ export function ProjectSidebarLayout(props: {
5455
},
5556
],
5657
},
58+
{
59+
href: `${props.layoutPath}/contracts`,
60+
icon: ContractIcon,
61+
label: "Contracts",
62+
},
5763
{
5864
href: `${props.layoutPath}/x402`,
5965
icon: PayIcon,
@@ -92,10 +98,6 @@ export function ProjectSidebarLayout(props: {
9298
href: `${props.layoutPath}/gateway/indexer`,
9399
label: "Indexer",
94100
},
95-
{
96-
href: `${props.layoutPath}/contracts`,
97-
label: "Contracts",
98-
},
99101
],
100102
},
101103
// only show engine link if there the user already has an engine instance

0 commit comments

Comments
 (0)