mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 02:35:39 +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) {
|
||||
setItems(value);
|
||||
} else {
|
||||
setItems([...items, ...value]);
|
||||
setItems((items) => [...items, ...value]);
|
||||
}
|
||||
setShowMore(!done);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue