index.tsx 834 B

123456789101112131415161718192021222324252627
  1. import type {RouteComponentProps} from 'react-router';
  2. import type {Group, Organization, Project} from 'sentry/types';
  3. import type {Event} from 'sentry/types/event';
  4. import withOrganization from 'sentry/utils/withOrganization';
  5. import type {ReprocessingStatus} from '../utils';
  6. import GroupEventDetails from './groupEventDetails';
  7. export interface GroupEventDetailsProps
  8. extends RouteComponentProps<{groupId: string; eventId?: string}, {}> {
  9. event: Event;
  10. eventError: boolean;
  11. group: Group;
  12. groupReprocessingStatus: ReprocessingStatus;
  13. loadingEvent: boolean;
  14. onRetry: () => void;
  15. organization: Organization;
  16. project: Project;
  17. }
  18. export function GroupEventDetailsContainer(props: GroupEventDetailsProps) {
  19. return <GroupEventDetails {...props} />;
  20. }
  21. export default withOrganization(GroupEventDetailsContainer);