friends list pagination fix

This commit is contained in:
Nuwan 2022-10-25 21:42:30 +05:30
parent f8eca9d538
commit 0cac99e407
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ function JKPeopleFilter() {
}, [loadingStatus, hasOffset])
useEffect(() => {
setShowLoadMore(prefetched.length !== 0 && !hasOffset)
setShowLoadMore(prefetched.length > 0 || hasOffset)
}, [prefetched, hasOffset])