latex-ub/services/web/frontend/js/features/pdf-preview/components/pdf-code-check-failed-notice.tsx
2025-05-05 12:24:05 +00:00

16 lines
404 B
TypeScript

import { memo } from 'react'
import { useTranslation } from 'react-i18next'
import OLNotification from '@/features/ui/components/ol/ol-notification'
function PdfCodeCheckFailedNotice() {
const { t } = useTranslation()
return (
<OLNotification
type="error"
content={t('code_check_failed_explanation')}
className="m-0"
/>
)
}
export default memo(PdfCodeCheckFailedNotice)