mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed node loading
This commit is contained in:
parent
d31b94c42a
commit
f19fed1c5a
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ function* getMore() {
|
|||
if (!last) {
|
||||
return;
|
||||
}
|
||||
const after = last.node.created_at;
|
||||
const after = last.node.commented_at || last.node.created_at;
|
||||
const { nodes, count }: Unwrap<typeof getLabNodes> = yield call(getLabNodes, { after });
|
||||
const newNodes = [...list.nodes, ...nodes];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue