index.tsx 533 B

12345678910111213141516
  1. import {RouteComponentProps} from 'react-router';
  2. import NoProjectMessage from 'sentry/components/noProjectMessage';
  3. import {Organization} from 'sentry/types';
  4. import withOrganization from 'sentry/utils/withOrganization';
  5. type Props = RouteComponentProps<{}, {}> & {
  6. children: React.ReactNode;
  7. organization: Organization;
  8. };
  9. function ReplaysContainer({organization, children}: Props) {
  10. return <NoProjectMessage organization={organization}>{children}</NoProjectMessage>;
  11. }
  12. export default withOrganization(ReplaysContainer);