1234567891011121314 |
- import type {RouteComponentProps} from 'react-router';
- import NoProjectMessage from 'sentry/components/noProjectMessage';
- import useOrganization from 'sentry/utils/useOrganization';
- type Props = RouteComponentProps<{}, {}> & {
- children: React.ReactNode;
- };
- export default function ReplaysContainer({children}: Props) {
- const organization = useOrganization();
- return <NoProjectMessage organization={organization}>{children}</NoProjectMessage>;
- }
|