import { FC } from 'react' import { useTranslation } from 'react-i18next' import OLModal, { OLModalBody, OLModalHeader, OLModalTitle, } from '@/features/ui/components/ol/ol-modal' export const UnsavedDocsLockedModal: FC = () => { const { t } = useTranslation() return ( {}} // It's not possible to hide this modal, but it's a required prop className="lock-editor-modal" backdrop={false} keyboard={false} > {t('connection_lost')} {t('sorry_the_connection_to_the_server_is_down')} ) }