fix: pagination
This commit is contained in:
@@ -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 })
|
||||||
|
|||||||
Reference in New Issue
Block a user