this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Check for ref before access scrollTop

+1
+1
src/pages/status.jsx
··· 36 36 useEffect(() => { 37 37 const onScroll = debounce(() => { 38 38 // console.log('onScroll'); 39 + if (!scrollableRef.current) return; 39 40 const { scrollTop } = scrollableRef.current; 40 41 states.scrollPositions.set(id, scrollTop); 41 42 }, 100);