MCPcopy Create free account
hub / github.com/developmentseed/stac-react / customWrapper

Function customWrapper

src/hooks/useStacApi.test.ts:44–45  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

42 defaultOptions: { queries: { retry: false, gcTime: 0 } },
43 });
44 const customWrapper = ({ children }: { children: React.ReactNode }) =>
45 React.createElement(QueryClientProvider, { client: queryClient }, children);
46
47 const initialProps: { options: Record<string, unknown> } = {
48 options: { headers: { Authorization: 'Bearer token1' } },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected