Browse Source

fix: pagination

imwald
codytseng 1 year ago
parent
commit
199b44d280
  1. 2
      src/renderer/src/components/NoteList/index.tsx

2
src/renderer/src/components/NoteList/index.tsx

@ -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…
Cancel
Save