mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 01:05:34 +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 {
|
} else {
|
||||||
setItems((items) => [...items, ...value]);
|
setItems((items) => [...items, ...value]);
|
||||||
}
|
}
|
||||||
|
if (!value.length) done = true;
|
||||||
setShowMore(!done);
|
setShowMore(!done);
|
||||||
} else {
|
} else {
|
||||||
setShowMore(false);
|
setShowMore(false);
|
||||||
|
|
Loading…
Reference in a new issue