16 lines
365 B
JavaScript
16 lines
365 B
JavaScript
"use client";
|
|
|
|
// src/useInfiniteQuery.ts
|
|
import { InfiniteQueryObserver } from "@tanstack/query-core";
|
|
import { useBaseQuery } from "./useBaseQuery.js";
|
|
function useInfiniteQuery(options, queryClient) {
|
|
return useBaseQuery(
|
|
options,
|
|
InfiniteQueryObserver,
|
|
queryClient
|
|
);
|
|
}
|
|
export {
|
|
useInfiniteQuery
|
|
};
|
|
//# sourceMappingURL=useInfiniteQuery.js.map
|