index.tsx 624 B

123456789101112131415161718192021
  1. import Feature from 'sentry/components/acl/feature';
  2. import type {RouteComponentProps} from 'sentry/types/legacyReactRouter';
  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;