diff --git a/packages/firestore/src/useFirestoreInfiniteQuery.ts b/packages/firestore/src/useFirestoreInfiniteQuery.ts index 8c0c749..be49f36 100644 --- a/packages/firestore/src/useFirestoreInfiniteQuery.ts +++ b/packages/firestore/src/useFirestoreInfiniteQuery.ts @@ -54,5 +54,6 @@ export function useFirestoreInfiniteQuery< getNextPageParam(snapshot) { return getNextQuery(snapshot); }, + ...useInfiniteQueryOptions, }); } diff --git a/packages/firestore/src/useFirestoreInfiniteQueryData.ts b/packages/firestore/src/useFirestoreInfiniteQueryData.ts index 99712f6..6851269 100644 --- a/packages/firestore/src/useFirestoreInfiniteQueryData.ts +++ b/packages/firestore/src/useFirestoreInfiniteQueryData.ts @@ -103,5 +103,6 @@ export function useFirestoreInfiniteQueryData< getNextPageParam(data) { return getNextQuery(data); }, + ...useInfiniteQueryOptions, }); }