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 <noreply@anthropic.com>
This commit is contained in:
parent
7b70713fcb
commit
af0e05f38c
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue