mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-08 10:24:52 +01:00
ignore: cloud solid fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user