Skip to content

Commit

Permalink
Mandate duplicate function
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidSumra committed Dec 7, 2024
1 parent ef7e121 commit 58159bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/request/useInfiniteQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import useQuery, { QueryOptions } from "@/Utils/request/useQuery";

export interface InfiniteQueryOptions<TItem>
extends QueryOptions<PaginatedResponse<TItem>> {
deduplicateBy?: (item: TItem) => string | number;
deduplicateBy: (item: TItem) => string | number;
}

export function useInfiniteQuery<TItem>(
Expand Down

0 comments on commit 58159bf

Please sign in to comment.