Skip to content

The open source coding agent.

TypeScript

wip: console

Dax Raad610ffbdd618f
diff --git a/cloud/app/src/routes/index.tsx b/cloud/app/src/routes/index.tsx
index da466e02280..c1124dd7542 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"}
</a>
</section>