-
-
- {t('why_might_this_happen')}
-
-
-
- - {t('there_is_an_unrecoverable_latex_error_check_logs')}
- - {t('the_document_environment_contains_no_content')}
- - {t('this_project_contains_a_file_called_output')}
-
-
-
- }
- />
- )
-}
-
-const CompileTimeoutErrorState = () => {
+export const ShortCompileTimeoutErrorState = () => {
const { t } = useTranslation()
return (
@@ -118,7 +28,7 @@ const CompileTimeoutErrorState = () => {
)
}
-const LongCompileTimeoutErrorState = () => {
+export const LongCompileTimeoutErrorState = () => {
const { t } = useTranslation()
const { enableStopOnFirstError } = useStopOnFirstError({
@@ -196,42 +106,3 @@ const LongCompileTimeoutErrorState = () => {
/>
)
}
-
-const ErrorState = ({
- title,
- description,
- iconType,
- actions,
- iconClassName,
- extraContent,
-}: {
- title: string
- description: string
- iconType: string
- actions?: React.ReactNode
- iconClassName?: string
- extraContent?: React.ReactNode
-}) => {
- return (
-