diff options
| author | Dax Raad <[email protected]> | 2025-09-03 01:33:49 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-09-03 01:33:49 -0400 |
| commit | 610ffbdd618f91021b358e0ffacb04b694079256 (patch) | |
| tree | 770b78213e02dc41054d6ceab099044ebc6706f5 /cloud/app | |
| parent | 854f9227a21d34252a3d54fbd0385c1745730152 (diff) | |
| download | opencode-610ffbdd618f91021b358e0ffacb04b694079256.tar.gz opencode-610ffbdd618f91021b358e0ffacb04b694079256.zip | |
wip: console
Diffstat (limited to 'cloud/app')
| -rw-r--r-- | cloud/app/src/routes/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloud/app/src/routes/index.tsx b/cloud/app/src/routes/index.tsx index da466e022..c1124dd75 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> |
