Skip to content

Commit

Permalink
fix: 리스트 불러오는 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gyeongza committed Aug 4, 2024
1 parent bff38c6 commit 65aeb4f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion frontend/src/hooks/query/useMyPostList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export const useMyPostList = (isRunner: boolean, reviewStatus?: ReviewStatus) =>
initialPageParam: 0,

getNextPageParam: (nextPage) => {
if (!nextPage || !nextPage.pageInfo) return undefined;
if (nextPage.pageInfo.isLast) return undefined;
return nextPage.pageInfo.nextCursor;
},
Expand Down
1 change: 0 additions & 1 deletion frontend/src/hooks/query/useOtherSupporterPost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const useOtherSupporterPost = (userId: number) => {
initialPageParam: 0,

getNextPageParam: (nextPage) => {
if (!nextPage || !nextPage.pageInfo) return undefined;
if (nextPage.pageInfo.isLast) return undefined;
return nextPage.pageInfo.nextCursor;
},
Expand Down
1 change: 0 additions & 1 deletion frontend/src/hooks/query/useRunnerPostList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export const useRunnerPostList = (reviewStatus: ReviewStatus | null, tagName?: s
initialPageParam: 0,

getNextPageParam: (nextPage) => {
if (!nextPage || !nextPage.pageInfo) return undefined;
if (nextPage.pageInfo.isLast) return undefined;
return nextPage.pageInfo.nextCursor;
},
Expand Down

0 comments on commit 65aeb4f

Please sign in to comment.