diff --git a/src/components/sections/employees/EmployeeList.tsx b/src/components/sections/employees/EmployeeList.tsx index a5029ebdc..cd4842b3b 100644 --- a/src/components/sections/employees/EmployeeList.tsx +++ b/src/components/sections/employees/EmployeeList.tsx @@ -46,7 +46,7 @@ export default function EmployeeList({ useState(employees); const { - isShowMore, + showShowMoreButton, isShowMorePending, limitedEmployees, showMoreHandler, @@ -172,7 +172,7 @@ export default function EmployeeList({ {isShowMorePending && } - {(!isShowMore || isShowMorePending) && ( + {showShowMoreButton && ( DEFAULT_LIMIT, showMoreHref: `${currentPath}?showAll`, }; }