feat: space

This commit is contained in:
2024-03-14 14:22:41 +07:00
parent 3005d27403
commit 16e6d234e5
34 changed files with 249 additions and 1837 deletions

View File

@@ -15,7 +15,7 @@ export const Route = createFileRoute("/")({
case 0:
const guest = await ark.create_guest_account();
throw redirect({
to: "/$account/home/local",
to: "/$account/home",
params: { account: guest },
search: { guest: true },
replace: true,
@@ -30,7 +30,7 @@ export const Route = createFileRoute("/")({
if (loadedAccount) {
throw redirect({
to: "/$account/home/local",
to: "/$account/home",
params: { account },
replace: true,
});
@@ -54,7 +54,7 @@ function Screen() {
const loadAccount = await ark.load_selected_account(npub);
if (loadAccount) {
navigate({
to: "/$account/home/local",
to: "/$account/home",
params: { account: npub },
replace: true,
});