Skip to content

Commit 97c361e

Browse files
authored
fix(nav): Use new route for project getting-started link (#87116)
1 parent 6fe74ab commit 97c361e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

static/app/views/projectInstall/createProject.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ import IssueAlertOptions, {
4444
RuleAction,
4545
} from 'sentry/views/projectInstall/issueAlertOptions';
4646
import {GettingStartedWithProjectContext} from 'sentry/views/projects/gettingStartedWithProjectContext';
47+
import {makeProjectsPathname} from 'sentry/views/projects/pathname';
4748

4849
export type IssueAlertFragment = Parameters<
4950
React.ComponentProps<typeof IssueAlertOptions>['onChange']
@@ -181,7 +182,10 @@ function CreateProject() {
181182

182183
browserHistory.push(
183184
normalizeUrl(
184-
`/organizations/${organization.slug}/projects/${projectData.slug}/getting-started/`
185+
makeProjectsPathname({
186+
orgSlug: organization.slug,
187+
path: `/${projectData.slug}/getting-started/`,
188+
})
185189
)
186190
);
187191
} catch (err) {

0 commit comments

Comments
 (0)