index.tsx 546 B

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