From 042802848ddd536f10076b6822db73c2a7de362d Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 2 Sep 2025 16:38:26 -0400 Subject: wip: zen --- cloud/app/src/context/auth.withActor.ts | 9 --------- 1 file changed, 9 deletions(-) (limited to 'cloud/app/src/context/auth.withActor.ts') diff --git a/cloud/app/src/context/auth.withActor.ts b/cloud/app/src/context/auth.withActor.ts index ca38be89b..a61b728ef 100644 --- a/cloud/app/src/context/auth.withActor.ts +++ b/cloud/app/src/context/auth.withActor.ts @@ -1,16 +1,7 @@ import { Actor } from "@opencode/cloud-core/actor.js" import { getActor } from "./auth" -import { query } from "@solidjs/router" export async function withActor(fn: () => T) { const actor = await getActor() return Actor.provide(actor.type, actor.properties, fn) } - -export function actorQuery(cb: () => T, name: string) { - "use server" - return query(async () => { - const actor = await getActor() - return withActor(cb) - }, name) -} -- cgit v1.2.3