fix dialog root complexity
This commit is contained in:
parent
8b976833a3
commit
e9f899cb9a
4 changed files with 136 additions and 102 deletions
|
|
@ -6,8 +6,8 @@ import { createMemo } from "solid-js"
|
|||
export const popularProviders = ["opencode", "anthropic", "github-copilot", "openai", "google", "openrouter", "vercel"]
|
||||
|
||||
export function useProviders() {
|
||||
const params = useParams()
|
||||
const globalSync = useGlobalSync()
|
||||
const params = useParams()
|
||||
const currentDirectory = createMemo(() => base64Decode(params.dir ?? ""))
|
||||
const providers = createMemo(() => {
|
||||
if (currentDirectory()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue