File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
static/app/views/settings/projectPerformance Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 1- import { Component } from 'react' ;
21import { RouteComponentProps } from 'react-router' ;
32
43import Feature from 'sentry/components/acl/feature' ;
54import { Organization , Project } from 'sentry/types' ;
6- import withOrganization from 'sentry/utils/withOrganization' ;
75
86import ProjectPerformance from './projectPerformance' ;
97
@@ -12,14 +10,12 @@ type Props = RouteComponentProps<{orgId: string; projectId: string}, {}> & {
1210 project : Project ;
1311} ;
1412
15- class ProjectPerformanceContainer extends Component < Props > {
16- render ( ) {
17- return (
18- < Feature features = { [ 'performance-view' ] } >
19- < ProjectPerformance { ...this . props } />
20- </ Feature >
21- ) ;
22- }
13+ function ProjectPerformanceContainer ( props : Props ) {
14+ return (
15+ < Feature features = { [ 'performance-view' ] } >
16+ < ProjectPerformance { ...props } />
17+ </ Feature >
18+ ) ;
2319}
2420
25- export default withOrganization ( ProjectPerformanceContainer ) ;
21+ export default ProjectPerformanceContainer ;
You can’t perform that action at this time.
0 commit comments