Skip to content

Commit

Permalink
bug: schedules 무한스크롤 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
daindaind committed Feb 18, 2024
1 parent 991f72d commit ec8eb5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/schedules/SchedulesView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const SchedulesView = ({ startDate, endDate, journeyTitle }) => {
if (!lastPage?.data?.data?.data?.meta?.hasNextData) {
return null;
} else {
return lastPage?.data?.data?.data?.meta?.cursor + 1;
return lastPage?.data?.data?.data?.meta?.cursor;
}
},
staleTime: 60 * 1000,
Expand Down

0 comments on commit ec8eb5a

Please sign in to comment.