mirror of
https://github.com/Blah-IM/Weblah.git
synced 2025-04-30 16:21:09 +00:00
fix: Navigation to only occur after successful account creation
This commit is contained in:
parent
a5e1a07e69
commit
a27b585f26
1 changed files with 1 additions and 1 deletions
|
@ -45,11 +45,11 @@
|
|||
const accountStore = await openAccountStore();
|
||||
const idKeyId = await accountStore.createAccount(profile, password);
|
||||
$currentAccountStore = idKeyId;
|
||||
goto('/settings');
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
isBusy = false;
|
||||
goto('/settings');
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue