Skip to content

Commit

Permalink
알림 목록 쿼리 getNextPageParam 수정 (#406)
Browse files Browse the repository at this point in the history
* fix: 알림 목록 쿼리 getNextPageParam 수정

* fix: 알림 목록 쿼리 getNextPageParam 재수정
  • Loading branch information
dlwl98 authored Nov 29, 2023
1 parent 58ded94 commit b8f2043
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/hooks/queries/useAlarmsQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ export const useAlarmsQuery = () => {
}),

getNextPageParam: (lastPage) => {
if (!lastPage.hasNext) {
return undefined;
}
return lastPage.cursorId;
},
initialPageParam: 0,
Expand Down

0 comments on commit b8f2043

Please sign in to comment.