mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-28 20:28:52 +03:00
Use the right way
This commit is contained in:
parent
cd70bf87db
commit
6e9661a70c
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function Timeline({
|
||||||
if (firstLoad) {
|
if (firstLoad) {
|
||||||
setItems(value);
|
setItems(value);
|
||||||
} else {
|
} else {
|
||||||
setItems([...items, ...value]);
|
setItems((items) => [...items, ...value]);
|
||||||
}
|
}
|
||||||
setShowMore(!done);
|
setShowMore(!done);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue