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

View File

@@ -2,7 +2,7 @@ import type { Api } from "Api";
import { FetchPromise, type ModuleApi, type ResponseObject } from "modules/ModuleApi";
import useSWR, { type SWRConfiguration, useSWRConfig, type Middleware, type SWRHook } from "swr";
import useSWRInfinite from "swr/infinite";
import { useApi } from "ui/client";
import { useApi } from "../ClientProvider";
import { useState } from "react";
export const useApiQuery = <