diff --git a/static/app/router/routes.tsx b/static/app/router/routes.tsx index 0d153ef8755423..68072d4fa89b69 100644 --- a/static/app/router/routes.tsx +++ b/static/app/router/routes.tsx @@ -1730,7 +1730,6 @@ function buildRoutes(): RouteObject[] { { path: ':release/', component: make(() => import('sentry/views/releases/detail')), - deprecatedRouteProps: true, children: [ { index: true, @@ -1764,7 +1763,6 @@ function buildRoutes(): RouteObject[] { component: make(() => import('sentry/views/releases/index')), withOrgPath: true, children: releaseChildren, - deprecatedRouteProps: true, }, { path: '/releases/new-events/', diff --git a/static/app/views/releases/detail/index.tsx b/static/app/views/releases/detail/index.tsx index b7ce4b99915a5b..a924809474098a 100644 --- a/static/app/views/releases/detail/index.tsx +++ b/static/app/views/releases/detail/index.tsx @@ -1,4 +1,5 @@ import {createContext, useCallback, useEffect, useMemo} from 'react'; +import {Outlet} from 'react-router-dom'; import type {Location} from 'history'; import pick from 'lodash/pick'; @@ -224,7 +225,7 @@ function ReleasesDetail({ // ======================================================================== // RELEASE DETAIL CONTAINER // ======================================================================== -function ReleasesDetailContainer({children}: {children: React.ReactNode}) { +function ReleasesDetailContainer() { const params = useParams<{release: string}>(); const location = useLocation(); const navigate = useNavigate(); @@ -308,7 +309,9 @@ function ReleasesDetailContainer({children}: {children: React.ReactNode}) { } specificProjectSlugs={projects.map((p: ReleaseProject) => p.slug)} > - {children} + + + ); }