From af0e05f38c43ed1c60b6ef48606a27ee341e8fd4 Mon Sep 17 00:00:00 2001 From: RememberV Date: Mon, 9 Mar 2026 15:35:40 +0000 Subject: [PATCH] fix: onboarding wizard navigates to dashboard instead of first issue After onboarding, the wizard navigated to the newly created issue (e.g. /JAR/issues/JAR-1). useCompanyPageMemory then saved this path, causing every subsequent company switch to land on that stale issue instead of the dashboard. Remove the issue-specific navigation branch so handleLaunch always falls through to the dashboard route. Co-Authored-By: Claude Opus 4.6 --- ui/src/components/OnboardingWizard.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ui/src/components/OnboardingWizard.tsx b/ui/src/components/OnboardingWizard.tsx index fbcbc7bf..5451e278 100644 --- a/ui/src/components/OnboardingWizard.tsx +++ b/ui/src/components/OnboardingWizard.tsx @@ -500,10 +500,6 @@ export function OnboardingWizard() { setLoading(false); reset(); closeOnboarding(); - if (createdCompanyPrefix && createdIssueRef) { - navigate(`/${createdCompanyPrefix}/issues/${createdIssueRef}`); - return; - } if (createdCompanyPrefix) { navigate(`/${createdCompanyPrefix}/dashboard`); return;