From 6ed45501f7ad0424a46cff5cc91ed303615b243f Mon Sep 17 00:00:00 2001 From: PhilReact Date: Wed, 30 Oct 2024 19:29:00 +0200 Subject: [PATCH] fix bug create account --- src/App.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index d1aeee5..3d87362 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -851,9 +851,7 @@ function App() { walletToBeDownloaded.wallet, walletToBeDownloaded.qortAddress ); - await showInfo({ - message: `Your wallet file was saved to internal storage, in the document folder. Keep that file secure.`, - }) + } catch (error: any) { setWalletToBeDownloadedError(error?.message); } finally { @@ -2415,6 +2413,9 @@ function App() { onClick={async () => { await saveFileToDiskFunc(); returnToMain(); + await showInfo({ + message: `Your wallet file was saved to internal storage, in the document folder. Keep that file secure.`, + }) }} > Backup Account @@ -2555,20 +2556,20 @@ function App() { )} {isShowInfo && ( {"Important Info"} - {message.message} + {messageInfo.message} -