index.tsx 500 B

12345678910111213
  1. import NoProjectMessage from 'sentry/components/noProjectMessage';
  2. import PageFiltersContainer from 'sentry/components/organizations/pageFilters/container';
  3. import useOrganization from 'sentry/utils/useOrganization';
  4. export default function UptimeContainer({children}: {children?: React.ReactNode}) {
  5. const organization = useOrganization();
  6. return (
  7. <NoProjectMessage organization={organization}>
  8. <PageFiltersContainer>{children}</PageFiltersContainer>
  9. </NoProjectMessage>
  10. );
  11. }