Fix scroll to top not registering because of wrong debounce usage

master
Eugen 8 years ago committed by GitHub
parent e8ea9669c9
commit f338cc6c94
  1. 2
      app/assets/javascripts/components/features/ui/containers/status_list_container.jsx

@ -47,7 +47,7 @@ const mapDispatchToProps = (dispatch, { type, id }) => ({
dispatch(expandTimeline(type, id));
},
@debounce(300, true)
@debounce(300)
onScrollToTop () {
dispatch(scrollTopTimeline(type, true));
},

Loading…
Cancel
Save