Files
2024-02-15 17:01:50 +00:00

22 lines
544 B
TypeScript

import type {RouteComponentProps} from 'react-router';
import Feature from 'sentry/components/acl/feature';
import type {Organization, Project} from 'sentry/types';
import ProjectMetrics from './projectMetrics';
type Props = RouteComponentProps<{projectId: string}, {}> & {
organization: Organization;
project: Project;
};
function ProjectMetricsContainer(props: Props) {
return (
<Feature features={['ddm-ui', 'custom-metrics']}>
<ProjectMetrics {...props} />
</Feature>
);
}
export default ProjectMetricsContainer;