From 185293a45d91943b5fca340c360d37482ee217c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20=C4=B0pek?= Date: Sun, 1 Mar 2026 19:28:07 +0300 Subject: [PATCH] fix(search-modal): update project item href to use new URL structure --- components/search-modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/search-modal.tsx b/components/search-modal.tsx index d2437db..5ef3c46 100644 --- a/components/search-modal.tsx +++ b/components/search-modal.tsx @@ -72,7 +72,7 @@ function buildFlatList(results: SearchResults, term: string): ResultItem[] { } function getItemHref(item: ResultItem): string { - if (item.kind === 'project') return `/dashboard?project=${item.data.id}`; + if (item.kind === 'project') return `/projects/${item.data.id}`; if (item.kind === 'workspace') return `/workspaces/${item.data.id}`; return `/projects/${item.data.projectId}/videos/${item.data.id}`; }