From 3f225e3248c54b4f17a0e1067d64614814020ccc Mon Sep 17 00:00:00 2001 From: Jay V Date: Thu, 28 Aug 2025 16:21:06 -0400 Subject: [PATCH] ignore: cloud --- cloud/app/src/routes/index.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cloud/app/src/routes/index.tsx b/cloud/app/src/routes/index.tsx index 349d3952..2b7678d0 100644 --- a/cloud/app/src/routes/index.tsx +++ b/cloud/app/src/routes/index.tsx @@ -7,7 +7,7 @@ import IMG_SPLASH from "../asset/lander/screenshot-splash.png" import IMG_VSCODE from "../asset/lander/screenshot-vscode.png" import IMG_GITHUB from "../asset/lander/screenshot-github.png" import { IconCopy, IconCheck } from "../component/icon" -import { A, createAsync, query, redirect } from "@solidjs/router" +import { A, createAsync, query } from "@solidjs/router" import { getActor, withActor } from "~/context/auth" import { Account } from "@opencode/cloud-core/account.js" @@ -26,7 +26,6 @@ const isLoggedIn = query(async () => { if (actor.type === "account") { const workspaces = await withActor(() => Account.workspaces()) return workspaces[0].id - // throw redirect("/" + workspaces[0].id) } return false }, "isLoggedIn") @@ -84,8 +83,8 @@ export default function Home() {
{workspaceId() - ? Dashboard - : Login + ? Dashboard + : Login }