wip: onboarding

This commit is contained in:
2024-03-25 14:22:06 +07:00
parent a49b88ab35
commit 6e489f1c49
22 changed files with 299 additions and 422 deletions

View File

@@ -13,11 +13,8 @@ export const Route = createFileRoute("/")({
switch (accounts.length) {
// Guest account
case 0:
const guest = await ark.create_guest_account();
throw redirect({
to: "/$account/home",
params: { account: guest },
search: { guest: true },
to: "/landing",
replace: true,
});
// Only 1 account, skip account selection screen