diff --git a/src/components/organisms/cardSlider/section/index.tsx b/src/components/organisms/cardSlider/section/index.tsx index 8676e198f..192b33f73 100644 --- a/src/components/organisms/cardSlider/section/index.tsx +++ b/src/components/organisms/cardSlider/section/index.tsx @@ -79,13 +79,12 @@ export default function Section({ infiniteQuery( { language, after: null }, { - initialPageParam: { language, after: null }, + initialPageParam: null, getNextPageParam: (last: Maybe) => { if (!last) return; const pageInfo = selectPageInfo(last); if (!pageInfo?.hasNextPage) return; return { - language, after: pageInfo.endCursor, }; }, diff --git a/src/containers/sponsor/list/all.tsx b/src/containers/sponsor/list/all.tsx index dc5e6e248..3620577c8 100644 --- a/src/containers/sponsor/list/all.tsx +++ b/src/containers/sponsor/list/all.tsx @@ -26,7 +26,7 @@ export default function AllSponsors(props: Props) { getNextPageParam: (lastPage: Maybe) => { const pageInfo = lastPage?.sponsors.pageInfo; if (!pageInfo?.hasNextPage) return; - return { language, after: pageInfo.endCursor }; + return { after: pageInfo.endCursor }; }, initialPageParam: null, },