fix: redirect to /product after project creation instead of /overview

/overview does not exist as a route; the correct landing tab is /product.

Made-with: Cursor
This commit is contained in:
2026-04-30 18:50:55 -07:00
parent 9358326b6d
commit 8969371134
3 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ export function BuildSetup({ workspace, onClose, onBack }: SetupProps) {
}
const data = await res.json();
onClose();
router.push(`/${workspace}/project/${data.projectId}/overview`);
router.push(`/${workspace}/project/${data.projectId}/product`);
} catch {
toast.error("Something went wrong");
} finally {

View File

@@ -136,7 +136,7 @@ export function ImportSetup({ workspace, onClose, onBack }: SetupProps) {
}
const data = await res.json();
onClose();
router.push(`/${workspace}/project/${data.projectId}/overview`);
router.push(`/${workspace}/project/${data.projectId}/product`);
} catch {
toast.error("Something went wrong");
} finally {

View File

@@ -69,7 +69,7 @@ export function OssSetup({ workspace, onClose, onBack }: SetupProps) {
}
const data = await res.json();
onClose();
router.push(`/${workspace}/project/${data.projectId}/overview`);
router.push(`/${workspace}/project/${data.projectId}/product`);
} catch {
toast.error("Something went wrong");
} finally {