MCPcopy Create free account
hub / github.com/WardAnalytics/WardGraph / useCustomQueryClient

Function useCustomQueryClient

src/hooks/useCustomQueryClient.tsx:15–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 * @returns A custom QueryClient with default options
14 */
15const useCustomQueryClient = () => {
16 return new QueryClient({
17 defaultOptions: {
18 queries: {
19 refetchOnWindowFocus: false,
20 retry: false,
21 },
22 },
23 });
24};
25
26export default useCustomQueryClient;

Callers 1

AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected