index.tsx 761 B

123456789101112131415161718192021222324
  1. import Feature from 'sentry/components/acl/feature';
  2. import * as Layout from 'sentry/components/layouts/thirds';
  3. import {GroupRelatedIssues} from 'sentry/views/issueDetails/groupRelatedIssues';
  4. import SimilarStackTrace from './similarStackTrace';
  5. type Props = React.ComponentProps<typeof SimilarStackTrace>;
  6. function GroupSimilarIssues({project, ...props}: Props) {
  7. return (
  8. <Layout.Body>
  9. <Layout.Main fullWidth>
  10. <Feature features="related-issues">
  11. <GroupRelatedIssues {...props} />
  12. </Feature>
  13. <Feature features="similarity-view" project={project}>
  14. <SimilarStackTrace project={project} {...props} />
  15. </Feature>
  16. </Layout.Main>
  17. </Layout.Body>
  18. );
  19. }
  20. export default GroupSimilarIssues;