index.tsx 455 B

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