diff --git a/ui/js/page/discover/view.jsx b/ui/js/page/discover/view.jsx index 16e41fdb6..3a4e2f6c7 100644 --- a/ui/js/page/discover/view.jsx +++ b/ui/js/page/discover/view.jsx @@ -80,10 +80,6 @@ class FeaturedCategory extends React.PureComponent { } } - if (lastVisibleIdx > cards.length - 1) { - lastVisibleIdx = cards.length - 1; - } - this.setState({ canScrollPrevious: true }); if (lastVisibleIdx === cards.length - 1) { this.setState({ canScrollNext: false });