import DetailedError from 'sentry/components/errors/detailedError'; import List from 'sentry/components/list'; import ListItem from 'sentry/components/list/listItem'; import {t} from 'sentry/locale'; import {Environment} from 'sentry/types'; type Props = { environments: Environment[]; onRetry?: (e: React.MouseEvent) => void; }; const GroupEventDetailsLoadingError = ({onRetry, environments}: Props) => { const reasons = [ t('The events are still processing and are on their way'), t('The events have been deleted'), t('There is an internal systems error or active issue'), ]; let message: React.ReactNode; if (environments.length === 0) { // All Environments case message = (
{t('This could be due to a handful of reasons:')}