From 36ea46ee67ca51b08ed1e139bd7fdc88da523b6f Mon Sep 17 00:00:00 2001 From: Frank Date: Wed, 3 Sep 2025 06:15:08 -0400 Subject: [PATCH] wip: console --- cloud/app/src/routes/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud/app/src/routes/index.tsx b/cloud/app/src/routes/index.tsx index da466e02..c1124dd7 100644 --- a/cloud/app/src/routes/index.tsx +++ b/cloud/app/src/routes/index.tsx @@ -32,7 +32,7 @@ const isLoggedIn = query(async () => { }, "isLoggedIn") export default function Home() { - const workspaceId = createAsync(() => isLoggedIn(), { + const auth = createAsync(() => isLoggedIn(), { deferStream: true, }) onMount(() => { @@ -92,7 +92,7 @@ export default function Home() { href="/auth" target="_self" > - Sign in + {auth() ? "Dashboard" : "Sign in"}