Auto-close the local/nordigen picker modal after creating an account (#1219)

This commit is contained in:
Jed Fox
2023-07-01 06:28:10 -04:00
committed by GitHub
parent f4940dceb1
commit 0d636aa04c
2 changed files with 7 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ function CreateLocalAccount({ modalProps, actions }) {
setBalanceError(balanceError);
if (!nameError && !balanceError) {
modalProps.onClose();
actions.closeModal();
let id = await actions.createAccount(
name,
toRelaxedNumber(balance),

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [j-f1]
---
Auto-close the local/nordigen picker modal after creating an account