mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-24 18:25:41 +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