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.
This commit is contained in:
parent
083b3c22d0
commit
006e253e23
1 changed files with 0 additions and 4 deletions
|
@ -2,7 +2,6 @@ import React from 'react';
|
||||||
import { Virtuoso } from 'react-virtuoso';
|
import { Virtuoso } from 'react-virtuoso';
|
||||||
|
|
||||||
import PullToRefresh from 'soapbox/components/pull-to-refresh';
|
import PullToRefresh from 'soapbox/components/pull-to-refresh';
|
||||||
// import { useSettings } from 'soapbox/hooks';
|
|
||||||
|
|
||||||
import { Spinner, Text } from './ui';
|
import { Spinner, Text } from './ui';
|
||||||
|
|
||||||
|
@ -65,9 +64,6 @@ const ScrollableList: React.FC<IScrollableList> = ({
|
||||||
placeholderComponent: Placeholder,
|
placeholderComponent: Placeholder,
|
||||||
placeholderCount = 0,
|
placeholderCount = 0,
|
||||||
}) => {
|
}) => {
|
||||||
// const settings = useSettings();
|
|
||||||
// const autoload = settings.get('autoloadMore');
|
|
||||||
|
|
||||||
/** Normalized children */
|
/** Normalized children */
|
||||||
const elements = Array.from(children || []);
|
const elements = Array.from(children || []);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue