-
- description
- { t('hackmd.used_for_not_found') }
-
- {/* eslint-disable-next-line react/no-danger */}
-
-
- );
- }
- /*
- * Resume to edit or discard changes
- */
- else if (isResume()) {
- const isHackmdDocumentOutdated = revisionIdHackmdSynced !== remoteRevisionId;
-
- content = (
-
-
description HackMD is READY!
-
{t('hackmd.unsaved_draft')}
-
- { isHackmdDocumentOutdated && (
-
-
info {t('hackmd.draft_outdated')}
-
- {t('hackmd.based_on_revision')}
- { pageData != null && (
-
-
{revisionIdHackmdSynced?.substr(-8)}
-
- )}
-
-
-
-
-
- ) }
-
- { !isHackmdDocumentOutdated && (
-
-
-
- ) }
-
-
-
-
-
-
- );
- }
- /*
- * Start to edit
- */
- else {
- const isRevisionOutdated = revision?._id !== remoteRevisionId;
-
- content = (
-
-
description HackMD is READY!
-
-
-
-
{t('hackmd.clone_page_content')}
-
- );
- }
-
- return (
-