Skip to content

Commit ffd8c40

Browse files
committed
Dashboard: Fix webhooks link in project/contracts page (#8547)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## 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}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## 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. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent d365efe commit ffd8c40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default async function Page(props: {
102102
},
103103
{
104104
type: "webhooks",
105-
href: `/team/${params.team_slug}/${params.project_slug}/webhooks/contracts`,
105+
href: `/team/${params.team_slug}/${params.project_slug}/tokens/webhooks`,
106106
},
107107
],
108108
}}

0 commit comments

Comments
 (0)