mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
wip: console
This commit is contained in:
parent
4d2cc9d858
commit
36ea46ee67
@ -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…
x
Reference in New Issue
Block a user