Skip to content

Commit 5b262d0

Browse files
authored
perf(org-stats): Switch to use Lightweight Organization (#25474)
1 parent 89f5174 commit 5b262d0

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

static/app/routes.tsx

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,6 +1690,16 @@ function routes() {
16901690
component={errorHandler(LazyLoad)}
16911691
/>
16921692

1693+
<Route
1694+
path="/organizations/:orgId/stats/"
1695+
componentPromise={() =>
1696+
import(
1697+
/* webpackChunkName: "OrganizationStats" */ 'app/views/organizationStats'
1698+
)
1699+
}
1700+
component={errorHandler(LazyLoad)}
1701+
/>
1702+
16931703
<Route
16941704
path="/organizations/:orgId/projects/:projectId/events/:eventId/"
16951705
component={errorHandler(ProjectEventRedirect)}
@@ -2024,15 +2034,6 @@ function routes() {
20242034
<Route path="/:orgId/" component={errorHandler(OrganizationDetails)}>
20252035
<Route component={errorHandler(OrganizationRoot)}>
20262036
{hook('routes:organization-root')}
2027-
<Route
2028-
path="/organizations/:orgId/stats/"
2029-
componentPromise={() =>
2030-
import(
2031-
/* webpackChunkName: "OrganizationStats" */ 'app/views/organizationStats'
2032-
)
2033-
}
2034-
component={errorHandler(LazyLoad)}
2035-
/>
20362037

20372038
<Route
20382039
path="/organizations/:orgId/projects/:projectId/getting-started/"

0 commit comments

Comments
 (0)