index.tsx 522 B

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