1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed node loading

This commit is contained in:
Fedor Katurov 2021-10-05 14:45:23 +07:00
parent d31b94c42a
commit f19fed1c5a

View file

@ -67,7 +67,7 @@ function* getMore() {
if (!last) { if (!last) {
return; 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 { nodes, count }: Unwrap<typeof getLabNodes> = yield call(getLabNodes, { after });
const newNodes = [...list.nodes, ...nodes]; const newNodes = [...list.nodes, ...nodes];