Kaynağa Gözat

wip: console

Frank 5 ay önce
ebeveyn
işleme
4d2cc9d858
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      cloud/app/src/routes/index.tsx

+ 2 - 2
cloud/app/src/routes/index.tsx

@@ -32,7 +32,7 @@ const isLoggedIn = query(async () => {
 }, "isLoggedIn")
 }, "isLoggedIn")
 
 
 export default function Home() {
 export default function Home() {
-  const auth = createAsync(() => isLoggedIn(), {
+  const workspaceId = createAsync(() => isLoggedIn(), {
     deferStream: true,
     deferStream: true,
   })
   })
   onMount(() => {
   onMount(() => {
@@ -92,7 +92,7 @@ export default function Home() {
             href="/auth"
             href="/auth"
             target="_self"
             target="_self"
           >
           >
-            {auth() ? "Dashboard" : "Sign in"}
+            Sign in
           </a>
           </a>
         </section>
         </section>