fix: 🐛
This commit is contained in:
@@ -412,7 +412,7 @@ const NoteList = forwardRef<
|
|||||||
observerInstance.unobserve(currentBottomRef)
|
observerInstance.unobserve(currentBottomRef)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [hasMore, events, showCount, timelineKey])
|
}, [hasMore, events, showCount, timelineKey, loading])
|
||||||
|
|
||||||
const showNewEvents = () => {
|
const showNewEvents = () => {
|
||||||
setEvents((oldEvents) => [...newEvents, ...oldEvents])
|
setEvents((oldEvents) => [...newEvents, ...oldEvents])
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ export default function ReplyNoteList({
|
|||||||
observerInstance.unobserve(currentBottomRef)
|
observerInstance.unobserve(currentBottomRef)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [replies, showCount, until, timelineKey])
|
}, [replies, showCount, until, timelineKey, loading])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="min-h-[80vh]">
|
<div className="min-h-[80vh]">
|
||||||
|
|||||||
Reference in New Issue
Block a user