Skip to content
Snippets Groups Projects
Unverified Commit 74112d22 authored by Mateusz Tyszczak's avatar Mateusz Tyszczak :scroll:
Browse files

Fix closing wallet selection

parent 4abab212
No related branches found
No related tags found
No related merge requests found
Pipeline #118319 passed
...@@ -32,12 +32,12 @@ const complete = async(data: { account: string; wallet: UsedWallet }) => { ...@@ -32,12 +32,12 @@ const complete = async(data: { account: string; wallet: UsedWallet }) => {
account: data.account, account: data.account,
wallet: data.wallet wallet: data.wallet
}; };
walletStore.closeWalletSelectModal();
settingsStore.setSettings(settings); settingsStore.setSettings(settings);
void walletStore.createWalletFor(settings); void walletStore.createWalletFor(settings);
const wax = await getWax(); const wax = await getWax();
const { accounts: [ account ] } = await wax.api.database_api.find_accounts({ accounts: [ settingsStore.settings.account! ], delayed_votes_active: false }); const { accounts: [ account ] } = await wax.api.database_api.find_accounts({ accounts: [ settingsStore.settings.account! ], delayed_votes_active: false });
void userStore.setUserData(account); void userStore.setUserData(account);
walletStore.closeWalletSelectModal();
}; };
</script> </script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment