diff --git a/app/soapbox/components/scrollable_list.tsx b/app/soapbox/components/scrollable_list.tsx index 4c9ad8b5d6..5fd1843c45 100644 --- a/app/soapbox/components/scrollable_list.tsx +++ b/app/soapbox/components/scrollable_list.tsx @@ -76,7 +76,6 @@ const ScrollableList = React.forwardRef(({ const scrollIndexKey = `soapbox:scrollIndex:${location.pathname}`; const scrollIndex = Number(sessionStorage.getItem(scrollIndexKey)); const initialIndex = useRef(scrollIndex); - const scroller = useRef(null); /** Normalized children */ const elements = Array.from(children || []); @@ -171,7 +170,6 @@ const ScrollableList = React.forwardRef(({ Item, Footer: loadMore, }} - scrollerRef={c => scroller.current = c} /> );