diff --git a/apps/web/features/issues/components/board-view.tsx b/apps/web/features/issues/components/board-view.tsx index 6ea8ba0a..a33119a4 100644 --- a/apps/web/features/issues/components/board-view.tsx +++ b/apps/web/features/issues/components/board-view.tsx @@ -43,7 +43,7 @@ function InfiniteScrollSentinel({ onVisible, loading }: { onVisible: () => void; const node = sentinelRef.current; if (!node) return; const observer = new IntersectionObserver( - ([entry]) => { if (entry.isIntersecting) onVisibleRef.current(); }, + ([entry]) => { if (entry?.isIntersecting) onVisibleRef.current(); }, { rootMargin: "100px" }, ); observer.observe(node);