mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +03:00
Still need this length check, this "done" is not reliable
This commit is contained in:
parent
0b3875c2cf
commit
9b23e051e2
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ function Timeline({
|
|||
} else {
|
||||
setItems((items) => [...items, ...value]);
|
||||
}
|
||||
if (!value.length) done = true;
|
||||
setShowMore(!done);
|
||||
} else {
|
||||
setShowMore(false);
|
||||
|
|
Loading…
Reference in a new issue