We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb92fa commit 32272ebCopy full SHA for 32272eb
src/context/index.tsx
@@ -13,6 +13,11 @@ type StacApiProviderType = {
13
enableDevTools?: boolean;
14
};
15
16
+/**
17
+ * Inner component that must render inside QueryClientProvider.
18
+ * Separated because useStacApi() calls useQuery from TanStack Query,
19
+ * which requires QueryClient context to be available.
20
+ */
21
function StacApiProviderInner({
22
children,
23
apiUrl,
0 commit comments