index.tsx 607 B

12345678910111213141516171819202122
  1. import type {RouteComponentProps} from 'react-router';
  2. import Feature from 'sentry/components/acl/feature';
  3. import type {Organization} from 'sentry/types/organization';
  4. import type {Project} from 'sentry/types/project';
  5. import ProjectPerformance from './projectPerformance';
  6. type Props = RouteComponentProps<{projectId: string}, {}> & {
  7. organization: Organization;
  8. project: Project;
  9. };
  10. function ProjectPerformanceContainer(props: Props) {
  11. return (
  12. <Feature features="performance-view">
  13. <ProjectPerformance {...props} />
  14. </Feature>
  15. );
  16. }
  17. export default ProjectPerformanceContainer;