12345678910111213141516171819202122232425 |
- import NoProjectMessage from 'sentry/components/noProjectMessage';
- import PageFiltersContainer from 'sentry/components/organizations/pageFilters/container';
- import SentryDocumentTitle from 'sentry/components/sentryDocumentTitle';
- import {t} from 'sentry/locale';
- import {Project} from 'sentry/types';
- import useOrganization from 'sentry/utils/useOrganization';
- type Props = {
- children: React.ReactChildren;
- projects: Project[];
- };
- function IssueListContainer({children}: Props) {
- const organization = useOrganization();
- return (
- <SentryDocumentTitle title={t('Issues')} orgSlug={organization.slug}>
- <PageFiltersContainer>
- <NoProjectMessage organization={organization}>{children}</NoProjectMessage>
- </PageFiltersContainer>
- </SentryDocumentTitle>
- );
- }
- export default IssueListContainer;
|