fix: 🐛
This commit is contained in:
parent
56f0aa9fd5
commit
41a65338b5
2 changed files with 2 additions and 2 deletions
|
|
@ -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]">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue