fix: pagination

This commit is contained in:
codytseng
2024-11-04 09:39:20 +08:00
parent bfc07545b3
commit 199b44d280

View File

@@ -84,7 +84,7 @@ export default function NoteList({
observer.current.unobserve(bottomRef.current)
}
}
}, [initialized])
}, [until, initialized])
const loadMore = async () => {
const events = await client.fetchEvents({ ...noteFilter, until })