summaryrefslogtreecommitdiffhomepage
path: root/cloud/app/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'cloud/app/src/routes')
-rw-r--r--cloud/app/src/routes/workspace/[workspaceID].tsx8
1 files changed, 6 insertions, 2 deletions
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