From 4496cd4b64e51805b790728e67a018791e731cd6 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Fri, 29 Aug 2025 11:58:17 -0400 Subject: ignore: cloud solid fixes --- cloud/app/src/routes/workspace/[workspaceID].tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cloud/app/src/routes') diff --git a/cloud/app/src/routes/workspace/[workspaceID].tsx b/cloud/app/src/routes/workspace/[workspaceID].tsx index 00e61a0c7..f507b5152 100644 --- a/cloud/app/src/routes/workspace/[workspaceID].tsx +++ b/cloud/app/src/routes/workspace/[workspaceID].tsx @@ -2,7 +2,8 @@ import { Billing } from "@opencode/cloud-core/billing.js" import { Key } from "@opencode/cloud-core/key.js" import { action, createAsync, revalidate, query, useAction, useSubmission } from "@solidjs/router" import { createEffect, createSignal, For, onMount, Show } from "solid-js" -import { getActor, withActor } from "~/context/auth" +import { getActor } from "~/context/auth" +import { withActor } from "~/context/auth.withActor" ///////////////////////////////////// // Keys related queries and actions @@ -47,8 +48,11 @@ const createPortalUrl = action(async (returnUrl: string) => { return withActor(() => Billing.generatePortalUrl({ returnUrl })) }, "portalUrl") -export default function() { +export default function () { const actor = createAsync(() => getActor()) + onMount(() => { + console.log("MOUNTED", actor()) + }) ///////////////// // Keys section -- cgit v1.2.3