]> cat aescling's git repositories - mastodon.git/blobdiff - app/javascript/mastodon/components/scrollable_list.js
Fix 12661 (#12744)
[mastodon.git] / app / javascript / mastodon / components / scrollable_list.js
index e4adabb369658b6c183280c57a3615befe1a9b0f..47a87b149a26e9cb67373e71fa359e9aef7dde4b 100644 (file)
@@ -36,8 +36,6 @@ export default class ScrollableList extends PureComponent {
     emptyMessage: PropTypes.node,
     children: PropTypes.node,
     bindToDocument: PropTypes.bool,
-    currentlyViewing: PropTypes.number,
-    updateCurrentlyViewing: PropTypes.func,
   };
 
   static defaultProps = {
@@ -314,8 +312,6 @@ export default class ScrollableList extends PureComponent {
                 listLength={childrenCount}
                 intersectionObserverWrapper={this.intersectionObserverWrapper}
                 saveHeightKey={trackScroll ? `${this.context.router.route.location.key}:${scrollKey}` : null}
-                currentlyViewing={this.props.currentlyViewing}
-                updateCurrentlyViewing={this.props.updateCurrentlyViewing}
               >
                 {React.cloneElement(child, {
                   getScrollPosition: this.getScrollPosition,
This page took 0.028249 seconds and 3 git commands to generate.