diff --git a/src/components/NoteList/index.tsx b/src/components/NoteList/index.tsx index 1441823d..74d7315c 100644 --- a/src/components/NoteList/index.tsx +++ b/src/components/NoteList/index.tsx @@ -412,7 +412,7 @@ const NoteList = forwardRef< observerInstance.unobserve(currentBottomRef) } } - }, [hasMore, events, showCount, timelineKey]) + }, [hasMore, events, showCount, timelineKey, loading]) const showNewEvents = () => { setEvents((oldEvents) => [...newEvents, ...oldEvents]) diff --git a/src/components/ReplyNoteList/index.tsx b/src/components/ReplyNoteList/index.tsx index 24f46894..660b170a 100644 --- a/src/components/ReplyNoteList/index.tsx +++ b/src/components/ReplyNoteList/index.tsx @@ -265,7 +265,7 @@ export default function ReplyNoteList({ observerInstance.unobserve(currentBottomRef) } } - }, [replies, showCount, until, timelineKey]) + }, [replies, showCount, until, timelineKey, loading]) return (