From 568e2717382c56cec908a31f74b7b7ec56175709 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 18 Feb 2021 21:05:21 -0800 Subject: [PATCH] lint --- app/scenes/Settings/ImportExport.js | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/app/scenes/Settings/ImportExport.js b/app/scenes/Settings/ImportExport.js index 309f2371e..78a17e0fc 100644 --- a/app/scenes/Settings/ImportExport.js +++ b/app/scenes/Settings/ImportExport.js @@ -134,19 +134,21 @@ function ImportExport() { )} {file && !isImportable && ( - - Sorry, the file {{ fileName: file.name }} is - missing valid collections or documents. - + }} + /> )} {file && importDetails && isImportable ? ( <> - - {{ fileName: file.name }} looks good, the - following collections and their documents will be imported: - + }} + /> {importDetails .filter((detail) => detail.type === "collection") @@ -175,12 +177,11 @@ function ImportExport() {

{t("Export")}

- - A full export might take some time, consider exporting a single - document or collection if possible. We’ll put together a zip of all - your documents in Markdown format and email it to{" "} - {{ userEmail: user.email }}. - + }} + />