mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 11:55:42 +00:00
implement booking flow
This commit is contained in:
12
apps/edr-freight-web/backoffice/src/lib/queryClient.ts
Normal file
12
apps/edr-freight-web/backoffice/src/lib/queryClient.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { QueryClient } from "@tanstack/react-query";
|
||||
|
||||
/** Single app-wide React Query client (do not nest additional providers). */
|
||||
export const queryClient = new QueryClient({
|
||||
defaultOptions: {
|
||||
queries: {
|
||||
retry: 1,
|
||||
refetchOnWindowFocus: false,
|
||||
staleTime: 30_000,
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user