File tree Expand file tree Collapse file tree
src/routes/(console)/onboarding/create-project Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 import { Dependencies } from ' $lib/constants' ;
99 import { Submit , trackError , trackEvent } from ' $lib/actions/analytics' ;
1010 import { goto , invalidate } from ' $app/navigation' ;
11- import { base } from ' $app/paths' ;
11+ import { base , resolve } from ' $app/paths' ;
1212 import { addNotification } from ' $lib/stores/notifications' ;
1313 import CreateProject from ' $lib/layout/createProject.svelte' ;
1414 import { loadAvailableRegions } from ' $routes/(console)/regions' ;
6262
6363 setTimeout (async () => {
6464 await invalidate (Dependencies .ACCOUNT );
65- await goto (` ${base }/project-${project .region ?? ' default' }-${project .$id } ` );
65+ await goto (
66+ resolve (' /(console)/project-[region]-[project]' , {
67+ region: project .region ?? ' default' ,
68+ project: project .$id
69+ })
70+ );
6671 showOnboardingAnimation .set (false );
6772 }, 3000 );
6873 } catch (e ) {
You can’t perform that action at this time.
0 commit comments