Fix "autocompile disabled" error in PDF preview (#21876)

GitOrigin-RevId: 3a7360b5d38614acf20353bd9bcdce8558472289
This commit is contained in:
Alf Eaton 2024-11-15 09:02:54 +00:00 committed by Copybot
parent 2be894c18a
commit 79164f90d7
2 changed files with 2 additions and 1 deletions

View file

@ -136,7 +136,7 @@ function PdfPreviewError({ error }) {
</ErrorLogEntry>
)
case 'auto-compile-disabled':
case 'autocompile-disabled':
return (
<ErrorLogEntry title={t('autocompile_disabled')}>
{t('autocompile_disabled_reason')}

View file

@ -244,6 +244,7 @@ export const CompileError = () => {
left: 10,
background: 'white',
padding: 10,
zIndex: 100,
}}
>
<label>