Fix scroll to top not registering because of wrong debounce usage

This commit is contained in:
Eugen 2017-02-20 19:01:47 +01:00 committed by GitHub
parent e8ea9669c9
commit f338cc6c94

View file

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