Frank 5 месяцев назад
Родитель
Сommit
4d2cc9d858
1 измененных файлов с 2 добавлено и 2 удалено
  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")
 
 export default function Home() {
-  const auth = createAsync(() => isLoggedIn(), {
+  const workspaceId = createAsync(() => isLoggedIn(), {
     deferStream: true,
   })
   onMount(() => {
@@ -92,7 +92,7 @@ export default function Home() {
             href="/auth"
             target="_self"
           >
-            {auth() ? "Dashboard" : "Sign in"}
+            Sign in
           </a>
         </section>