summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/src/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'packages/desktop/src/hooks')
-rw-r--r--packages/desktop/src/hooks/use-providers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/desktop/src/hooks/use-providers.ts b/packages/desktop/src/hooks/use-providers.ts
index 501ff9d0c..4a73fa055 100644
--- a/packages/desktop/src/hooks/use-providers.ts
+++ b/packages/desktop/src/hooks/use-providers.ts
@@ -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()) {