From 006e253e23b626022ef26190e003d717d989418c Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 22 Apr 2022 13:00:12 -0500 Subject: [PATCH] ScrollableList: Don't support `autoloadMore` for now This setting allowed disabling endless scrolling, and would display a clickable "load more" button at the bottom of the feed. --- app/soapbox/components/scrollable_list.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/soapbox/components/scrollable_list.tsx b/app/soapbox/components/scrollable_list.tsx index 3264c5369..0361da981 100644 --- a/app/soapbox/components/scrollable_list.tsx +++ b/app/soapbox/components/scrollable_list.tsx @@ -2,7 +2,6 @@ import React from 'react'; import { Virtuoso } from 'react-virtuoso'; import PullToRefresh from 'soapbox/components/pull-to-refresh'; -// import { useSettings } from 'soapbox/hooks'; import { Spinner, Text } from './ui'; @@ -65,9 +64,6 @@ const ScrollableList: React.FC = ({ placeholderComponent: Placeholder, placeholderCount = 0, }) => { - // const settings = useSettings(); - // const autoload = settings.get('autoloadMore'); - /** Normalized children */ const elements = Array.from(children || []);