mirror of
https://github.com/Blah-IM/Weblah.git
synced 2025-05-01 00:31:08 +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 accountStore = await openAccountStore();
|
||||||
const idKeyId = await accountStore.createAccount(profile, password);
|
const idKeyId = await accountStore.createAccount(profile, password);
|
||||||
$currentAccountStore = idKeyId;
|
$currentAccountStore = idKeyId;
|
||||||
|
goto('/settings');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}
|
}
|
||||||
isBusy = false;
|
isBusy = false;
|
||||||
goto('/settings');
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue