This commit is contained in:
focp212@naver.com
2025-10-26 12:40:23 +09:00
parent fdedc3d519
commit ddd900d311

View File

@@ -91,6 +91,7 @@ export const AlarmList = ({
setResultList(rs.content); setResultList(rs.content);
} }
if(rs.hasNext if(rs.hasNext
&& rs.nextCursor !== pageParam.cursor
&& rs.content.length === DEFAULT_PAGE_PARAM.size && rs.content.length === DEFAULT_PAGE_PARAM.size
){ ){
setPageParam({ setPageParam({
@@ -106,6 +107,7 @@ export const AlarmList = ({
} }
setOnActionIntersect( setOnActionIntersect(
!!rs.hasNext !!rs.hasNext
&& rs.nextCursor !== pageParam.cursor
&& rs.content.length === DEFAULT_PAGE_PARAM.size && rs.content.length === DEFAULT_PAGE_PARAM.size
); );
} }