Let bro fetch

This commit is contained in:
Eric Bailey
2026-04-23 17:46:40 -05:00
parent afbff40c6a
commit 2ebfac4fe2
@@ -250,10 +250,8 @@ export function MessagesList({
) )
const onStartReached = useCallback(() => { const onStartReached = useCallback(() => {
if (hasScrolled && prevContentHeight.current > layoutHeight.get()) {
void convoState.fetchMessageHistory() void convoState.fetchMessageHistory()
} }, [convoState])
}, [convoState, hasScrolled, layoutHeight])
const onScroll = useCallback( const onScroll = useCallback(
(e: ScrollEvent) => { (e: ScrollEvent) => {