friends list pagination fix
This commit is contained in:
parent
f8eca9d538
commit
0cac99e407
|
|
@ -227,7 +227,7 @@ function JKPeopleFilter() {
|
|||
}, [loadingStatus, hasOffset])
|
||||
|
||||
useEffect(() => {
|
||||
setShowLoadMore(prefetched.length !== 0 && !hasOffset)
|
||||
setShowLoadMore(prefetched.length > 0 || hasOffset)
|
||||
}, [prefetched, hasOffset])
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue