summaryrefslogtreecommitdiffhomepage
path: root/cloud/app/src/routes
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-03 12:31:09 -0400
committerDax Raad <[email protected]>2025-09-03 12:32:03 -0400
commit59e550271d3c9bc50ebb8b7ba0d04eacd1e49e1a (patch)
tree01c62ec789806c12915f46d3714b8dc08cdae630 /cloud/app/src/routes
parentafebe920b267431272bd4cc81111848ab5eb21a3 (diff)
downloadopencode-59e550271d3c9bc50ebb8b7ba0d04eacd1e49e1a.tar.gz
opencode-59e550271d3c9bc50ebb8b7ba0d04eacd1e49e1a.zip
wip: cloud
Diffstat (limited to 'cloud/app/src/routes')
-rw-r--r--cloud/app/src/routes/workspace/[id].tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cloud/app/src/routes/workspace/[id].tsx b/cloud/app/src/routes/workspace/[id].tsx
index 17f4f85d2..84d2c10b3 100644
--- a/cloud/app/src/routes/workspace/[id].tsx
+++ b/cloud/app/src/routes/workspace/[id].tsx
@@ -42,12 +42,14 @@ const getBillingInfo = query(async () => {
"use server"
return withActor(async () => {
const actor = Actor.assert("user")
+ const now = Date.now()
const [user, billing, payments, usage] = await Promise.all([
User.fromID(actor.properties.userID),
Billing.get(),
Billing.payments(),
Billing.usages(),
])
+ console.log("duration", Date.now() - now)
return { user, billing, payments, usage }
})
}, "billingInfo")
@@ -67,9 +69,7 @@ export default function () {
/////////////////
// Keys section
/////////////////
- const keys = createAsync(() => listKeys(), {
- deferStream: true,
- })
+ const keys = createAsync(() => listKeys())
const createKeyAction = useAction(createKey)
const removeKeyAction = useAction(removeKey)
const createKeySubmission = useSubmission(createKey)