ignore: cloud

This commit is contained in:
Jay V
2025-08-28 17:17:00 -04:00
parent 4d81f90dde
commit 403f9b2f1b
2 changed files with 11 additions and 2 deletions

View File

@@ -23,7 +23,6 @@ function CopyStatus() {
const isLoggedIn = query(async () => {
"use server"
const actor = await getActor()
console.log(actor)
if (actor.type === "account") {
const workspaces = await withActor(() => Account.workspaces())
throw redirect(`/workspace/${workspaces[0].id}`)
@@ -34,7 +33,7 @@ const isLoggedIn = query(async () => {
export default function Home() {
const workspaceId = createAsync(() => isLoggedIn(), {
createAsync(() => isLoggedIn(), {
deferStream: true,
})
onMount(() => {

View File

@@ -0,0 +1,10 @@
import { RouteSectionProps } from "@solidjs/router";
export default function WorkspaceLayout(props: RouteSectionProps) {
return (
<div>
<h1>Workspace</h1>
{props.children}
</div>
);
}