From b179471eff8cbc3c36279cde31b75664255a995f Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sun, 11 Feb 2018 20:31:26 +0000 Subject: [PATCH] Electron: Fixes #205: Importing Evernote notes while on import page re-imports previous import --- ElectronClient/app/gui/ImportScreen.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ElectronClient/app/gui/ImportScreen.jsx b/ElectronClient/app/gui/ImportScreen.jsx index 573b4c5a0..7d2c264b1 100644 --- a/ElectronClient/app/gui/ImportScreen.jsx +++ b/ElectronClient/app/gui/ImportScreen.jsx @@ -25,9 +25,7 @@ class ImportScreenComponent extends React.Component { doImport: true, filePath: newProps.filePath, messages: [], - }); - - this.doImport(); + }, () => { this.doImport() }); } }