import styled from '@emotion/styled';
import {Flex} from 'sentry/components/container/flex';
import LoadingIndicator from 'sentry/components/loadingIndicator';
import Placeholder from 'sentry/components/placeholder';
import {space} from 'sentry/styles/space';
import {useUser} from 'sentry/utils/useUser';
/**
* Do not import more things into this component since it is used in routes.ts
*/
export function GroupEventDetailsLoading() {
const user = useUser();
/**
* Not using useHasStreamlinedUI because we want to limit modules imported
* in routes.ts
*/
if (!user?.options?.prefersIssueDetailsStreamlinedUI) {
return