diff --git a/src/components/CreateWallet.tsx b/src/components/CreateWallet.tsx index 63085ac1..5ae21a7e 100644 --- a/src/components/CreateWallet.tsx +++ b/src/components/CreateWallet.tsx @@ -116,7 +116,7 @@ export default function CreateWallet({ parentRoute, startWallet }: CreateWalletP const { seedphrase, walletname: createdWalletFileName } = body const auth = Api.Helper.parseAuthProps(body) - + setCreatedWallet({ walletFileName: createdWalletFileName, seedphrase, password, auth }) } catch (e: any) { const message = t('create_wallet.error_creating_failed', { diff --git a/src/context/ServiceInfoContext.tsx b/src/context/ServiceInfoContext.tsx index 55b1e593..36167719 100644 --- a/src/context/ServiceInfoContext.tsx +++ b/src/context/ServiceInfoContext.tsx @@ -225,7 +225,10 @@ const ServiceInfoProvider = ({ children }: PropsWithChildren<{}>) => { const abortCtrl = new AbortController() const refreshSession = () => { - reloadServiceInfo({ signal: abortCtrl.signal }).catch((err) => console.error(err)) + reloadServiceInfo({ signal: abortCtrl.signal }).catch((err) => { + if (abortCtrl.signal.aborted) return + console.error(err) + }) } refreshSession()