fix: pagination
This commit is contained in:
parent
bfc07545b3
commit
199b44d280
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ export default function NoteList({
|
||||||
observer.current.unobserve(bottomRef.current)
|
observer.current.unobserve(bottomRef.current)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [initialized])
|
}, [until, initialized])
|
||||||
|
|
||||||
const loadMore = async () => {
|
const loadMore = async () => {
|
||||||
const events = await client.fetchEvents({ ...noteFilter, until })
|
const events = await client.fetchEvents({ ...noteFilter, until })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue