mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
wip: console
This commit is contained in:
parent
854f9227a2
commit
610ffbdd61
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue