From ffd8c402f451c06ee3d9b8734d9c7d596b1cfbc4 Mon Sep 17 00:00:00 2001 From: MananTank Date: Fri, 12 Dec 2025 16:32:05 +0000 Subject: [PATCH] Dashboard: Fix webhooks link in project/contracts page (#8547) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ## PR-Codex overview This PR updates the URL structure for webhooks in the `page.tsx` file, changing the path from `/webhooks/contracts` to `/tokens/webhooks`. ### Detailed summary - Modified the `href` property in the object from: - `href: `/team/${params.team_slug}/${params.project_slug}/webhooks/contracts`` - to `href: `/team/${params.team_slug}/${params.project_slug}/tokens/webhooks`` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` ## Summary by CodeRabbit ## Release Notes * **Bug Fixes** * Fixed the "webhooks" navigation link in the Contracts page to correctly redirect to the tokens section instead of the contracts section. ✏️ Tip: You can customize this high-level summary in your review settings. --- .../[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx index 177a926aeaf..c44dc804489 100644 --- a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx +++ b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx @@ -102,7 +102,7 @@ export default async function Page(props: { }, { type: "webhooks", - href: `/team/${params.team_slug}/${params.project_slug}/webhooks/contracts`, + href: `/team/${params.team_slug}/${params.project_slug}/tokens/webhooks`, }, ], }}