diff --git a/static/app/views/explore/components/viewportConstrainedPage.tsx b/static/app/views/explore/components/viewportConstrainedPage.tsx index 10fe34b6c3cb..e1fef47e40fc 100644 --- a/static/app/views/explore/components/viewportConstrainedPage.tsx +++ b/static/app/views/explore/components/viewportConstrainedPage.tsx @@ -1,11 +1,10 @@ import styled from '@emotion/styled'; -import type {FlexProps} from '@sentry/scraps/layout'; +import {Stack, type FlexProps} from '@sentry/scraps/layout'; -import * as Layout from 'sentry/components/layouts/thirds'; import {SHORT_VIEWPORT_HEIGHT} from 'sentry/utils/useIsShortViewport'; -interface ViewportConstrainedPageProps extends FlexProps<'main'> { +interface ViewportConstrainedPageProps extends FlexProps<'div'> { constrained?: boolean; hideFooter?: boolean; } @@ -27,11 +26,12 @@ export function ViewportConstrainedPage({ ...rest }: ViewportConstrainedPageProps) { if (!constrained) { - return ; + return ; } return (