From 41a65338b5811c6fccec29d1677b7e4f149401c3 Mon Sep 17 00:00:00 2001 From: codytseng Date: Wed, 24 Dec 2025 22:30:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/NoteList/index.tsx | 2 +- src/components/ReplyNoteList/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/NoteList/index.tsx b/src/components/NoteList/index.tsx index 1441823..74d7315 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 24f4689..660b170 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 (