mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
15 lines
455 B
TypeScript
15 lines
455 B
TypeScript
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>;
|
|
}
|