diff --git a/src/components/organisms/cardSlider/section/index.tsx b/src/components/organisms/cardSlider/section/index.tsx index 3c7b13fa4..20578142b 100644 --- a/src/components/organisms/cardSlider/section/index.tsx +++ b/src/components/organisms/cardSlider/section/index.tsx @@ -77,7 +77,7 @@ export default function Section({ const { data, fetchNextPage, isFetchingNextPage, hasNextPage } = infiniteQuery( - { language, after: 'after' }, + { language, after: null }, { getNextPageParam: (last: Maybe) => { if (!last) return; diff --git a/src/containers/presenter/list/all.tsx b/src/containers/presenter/list/all.tsx index dccbfea54..2872330c6 100644 --- a/src/containers/presenter/list/all.tsx +++ b/src/containers/presenter/list/all.tsx @@ -17,7 +17,7 @@ export default function All(props: PresentersProps) { useInfiniteGetPresenterListAllPageDataQuery( { language, - after: 'after', + after: null, }, { getNextPageParam: (lastPage) => diff --git a/src/containers/sponsor/list/all.tsx b/src/containers/sponsor/list/all.tsx index 27a9ac5d0..dc5e6e248 100644 --- a/src/containers/sponsor/list/all.tsx +++ b/src/containers/sponsor/list/all.tsx @@ -21,7 +21,7 @@ export default function AllSponsors(props: Props) { const { data, hasNextPage, fetchNextPage, isLoading, isFetchingNextPage } = useInfiniteGetSponsorListAllPageDataQuery( - { language, after: 'after' }, + { language, after: null }, { getNextPageParam: (lastPage: Maybe) => { const pageInfo = lastPage?.sponsors.pageInfo;