File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -2566,7 +2566,6 @@ function buildRoutes(): RouteObject[] {
25662566 component : make ( ( ) => import ( 'sentry/views/pullRequest/index' ) ) ,
25672567 withOrgPath : true ,
25682568 children : pullRequestChildren ,
2569- deprecatedRouteProps : true ,
25702569 } ;
25712570
25722571 const feedbackV2Children : SentryRouteObject [ ] = [
Original file line number Diff line number Diff line change 1+ import { Outlet } from 'react-router-dom' ;
2+
13import Feature from 'sentry/components/acl/feature' ;
24import { Alert } from 'sentry/components/core/alert' ;
35import * as Layout from 'sentry/components/layouts/thirds' ;
@@ -6,11 +8,7 @@ import {t} from 'sentry/locale';
68import { UrlParamBatchProvider } from 'sentry/utils/url/urlParamBatchContext' ;
79import useOrganization from 'sentry/utils/useOrganization' ;
810
9- type Props = {
10- children : NonNullable < React . ReactNode > ;
11- } ;
12-
13- function PullRequestContainer ( { children} : Props ) {
11+ export default function PullRequestContainer ( ) {
1412 const organization = useOrganization ( ) ;
1513
1614 return (
@@ -28,10 +26,10 @@ function PullRequestContainer({children}: Props) {
2826 ) }
2927 >
3028 < NoProjectMessage organization = { organization } >
31- < UrlParamBatchProvider > { children } </ UrlParamBatchProvider >
29+ < UrlParamBatchProvider >
30+ < Outlet />
31+ </ UrlParamBatchProvider >
3232 </ NoProjectMessage >
3333 </ Feature >
3434 ) ;
3535}
36-
37- export default PullRequestContainer ;
You can’t perform that action at this time.
0 commit comments