Add isLoading condition to showMoreButton
This commit is contained in:
parent
2e0549c35e
commit
891d2257b4
@ -77,6 +77,7 @@ export default function MoreComponents({
|
||||
(indexInView ?? 0) >= components.length - 1;
|
||||
|
||||
const showMoreButton =
|
||||
isLoading ||
|
||||
!hasFinalIndexBeenReached ||
|
||||
!areAllComponentsVisible;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user