fix client imports to prevent multiple react context's

This commit is contained in:
dswbx
2025-11-25 16:16:10 +01:00
parent 5e5dc62304
commit 0cf1d86213
25 changed files with 59 additions and 49 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import type {
import { objectTransform, encodeSearch } from "bknd/utils";
import type { Insertable, Selectable, Updateable, Generated } from "kysely";
import useSWR, { type SWRConfiguration, type SWRResponse, mutate } from "swr";
import { type Api, useApi } from "ui/client";
import { type Api, useApi } from "bknd/client";
export class UseEntityApiError<Payload = any> extends Error {
constructor(