diff --git a/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx b/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx index b9243da7e5..31d5d51621 100644 --- a/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx +++ b/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx @@ -14,6 +14,7 @@ import { import { isNewUser, useIsNewEditorEnabled, + useIsNewErrorLogsPositionEnabled, } from '@/features/ide-redesign/utils/new-editor-utils' import { getSplitTestVariant } from '@/utils/splitTestUtils' @@ -78,6 +79,7 @@ const CompileTimeout = memo(function CompileTimeout({ segmentation, }: CompileTimeoutProps) { const { t } = useTranslation() + const newLogsPosition = useIsNewErrorLogsPositionEnabled() const extraSearchParams = useMemo(() => { if (!isNewUser()) { @@ -97,7 +99,7 @@ const CompileTimeout = memo(function CompileTimeout({ return (