fix: 🐛
This commit is contained in:
@@ -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])
|
||||
|
||||
@@ -265,7 +265,7 @@ export default function ReplyNoteList({
|
||||
observerInstance.unobserve(currentBottomRef)
|
||||
}
|
||||
}
|
||||
}, [replies, showCount, until, timelineKey])
|
||||
}, [replies, showCount, until, timelineKey, loading])
|
||||
|
||||
return (
|
||||
<div className="min-h-[80vh]">
|
||||
|
||||
Reference in New Issue
Block a user