// src/usePrefetchInfiniteQuery.tsx
import { useQueryClient } from "./QueryClientProvider.js";
function usePrefetchInfiniteQuery(options, queryClient) {
  const client = useQueryClient(queryClient);
  if (!client.getQueryState(options.queryKey)) {
    client.prefetchInfiniteQuery(options);
  }
}
export {
  usePrefetchInfiniteQuery
};//# sourceMappingURL=http://go/sourcemap/sourcemaps/63a2996a10d9e476b6c28e951dd7691d9c0cf480/node_modules/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.js.map