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.
revert-5af0e40a
Alex Gleason 2 years ago
parent 083b3c22d0
commit 006e253e23
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -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<IScrollableList> = ({
placeholderComponent: Placeholder,
placeholderCount = 0,
}) => {
// const settings = useSettings();
// const autoload = settings.get('autoloadMore');
/** Normalized children */
const elements = Array.from(children || []);

Loading…
Cancel
Save