diff --git a/app/soapbox/components/scrollable_list.js b/app/soapbox/components/scrollable_list.js index 7c521c9d0..0e6c1991b 100644 --- a/app/soapbox/components/scrollable_list.js +++ b/app/soapbox/components/scrollable_list.js @@ -108,7 +108,6 @@ export default class ScrollableList extends PureComponent { } componentDidUpdate(prevProps, prevState, snapshot) { - console.log(snapshot); // Reset the scroll position when a new child comes in in order not to // jerk the scrollbar around if you're already scrolled down the page. if (snapshot !== null) { @@ -261,7 +260,7 @@ export default class ScrollableList extends PureComponent { } renderFeed = () => { - const { children, scrollKey, isLoading, hasMore, prepend, onLoadMore, placeholderComponent: Placeholder, placeholderCount } = this.props; + const { children, scrollKey, isLoading, hasMore, prepend, onLoadMore } = this.props; const childrenCount = React.Children.count(children); const trackScroll = true; //placeholder const loadMore = (hasMore && onLoadMore) ? : null; @@ -288,11 +287,6 @@ export default class ScrollableList extends PureComponent { })} ))} - {(isLoading && Placeholder && placeholderCount > 0) && ( - Array(placeholderCount).fill().map((_, i) => ( - - )) - )} {this.getMoreFollows()} {loadMore}