Skip to content

Commit

Permalink
fix: Eslint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Tushar-4781 committed Jun 24, 2024
1 parent 0501c42 commit 31534bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/FeelingsPage/FeelingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const FeelingsPage = () => {
const { displayNoteModal, note } = location.state || {};
const showAddFeelingsModal = useRecoilValue(displayAddFeeling);

const { data, fetchNextPage, hasNextPage, isFetchingNextPage, status } = useInfiniteQuery("feelings", fetchFeelings, {
const { data, fetchNextPage, hasNextPage, status } = useInfiniteQuery("feelings", fetchFeelings, {
getNextPageParam: (lastPage) => (lastPage.feelings.length ? lastPage.nextPage : undefined),
});
const loadMoreRef = useRef(null);
Expand Down

0 comments on commit 31534bc

Please sign in to comment.