diff options
| author | Jay V <[email protected]> | 2025-08-28 17:17:00 -0400 |
|---|---|---|
| committer | Jay V <[email protected]> | 2025-08-28 17:17:00 -0400 |
| commit | 403f9b2f1b153deefcce71923664498b8903fda5 (patch) | |
| tree | dbc4eed13ade8ae2db3000589b9719430266d66f | |
| parent | 4d81f90dded0ad3d57a75c880c919e6809087948 (diff) | |
| download | opencode-403f9b2f1b153deefcce71923664498b8903fda5.tar.gz opencode-403f9b2f1b153deefcce71923664498b8903fda5.zip | |
ignore: cloud
| -rw-r--r-- | cloud/app/src/routes/index.tsx | 3 | ||||
| -rw-r--r-- | cloud/app/src/routes/workspace.tsx | 10 |
2 files changed, 11 insertions, 2 deletions
diff --git a/cloud/app/src/routes/index.tsx b/cloud/app/src/routes/index.tsx index 7a43f2624..3474a9931 100644 --- a/cloud/app/src/routes/index.tsx +++ b/cloud/app/src/routes/index.tsx @@ -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(() => { diff --git a/cloud/app/src/routes/workspace.tsx b/cloud/app/src/routes/workspace.tsx new file mode 100644 index 000000000..e2ecb182b --- /dev/null +++ b/cloud/app/src/routes/workspace.tsx @@ -0,0 +1,10 @@ +import { RouteSectionProps } from "@solidjs/router"; + +export default function WorkspaceLayout(props: RouteSectionProps) { + return ( + <div> + <h1>Workspace</h1> + {props.children} + </div> + ); +} |
