Files
agency/.pnpm-store/v3/files/32/131691712134f58b3f6d43416dc489bc19454bbeecae1108575afa0fd62f09751c91e7bc6e84c00b68dfeaf841480a0362a7f5ff50b0500e5982ae67436cbd
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +00:00

12 lines
388 B
Plaintext

// 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=usePrefetchInfiniteQuery.js.map