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

12 lines
348 B
Plaintext

// src/usePrefetchQuery.tsx
import { useQueryClient } from "./QueryClientProvider.js";
function usePrefetchQuery(options, queryClient) {
const client = useQueryClient(queryClient);
if (!client.getQueryState(options.queryKey)) {
client.prefetchQuery(options);
}
}
export {
usePrefetchQuery
};
//# sourceMappingURL=usePrefetchQuery.js.map