Skip to content

Commit b7c5dec

Browse files
authored
fix(insights): Add legacy router props to database span summary (#96697)
1 parent 228cc1a commit b7c5dec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

static/app/routes.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,6 +1986,7 @@ function buildRoutes(): RouteObject[] {
19861986
component: make(
19871987
() => import('sentry/views/insights/database/views/databaseSpanSummaryPage')
19881988
),
1989+
deprecatedRouteProps: true,
19891990
},
19901991
],
19911992
},

static/app/views/insights/database/views/databaseSpanSummaryPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ const DescriptionContainer = styled(ModuleLayout.Full)`
286286
line-height: 1.2;
287287
`;
288288

289-
function PageWithProviders(props: any) {
289+
function PageWithProviders(props: Props) {
290290
return (
291291
<ModulePageProviders moduleName="db" pageTitle={t('Query Summary')}>
292292
<DatabaseSpanSummaryPage {...props} />

0 commit comments

Comments
 (0)