Fix scroll to top not registering because of wrong debounce usage

lolsob-rspec
Eugen 2017-02-20 19:01:47 +01:00 committed by GitHub
parent f73aec19a8
commit 2ff3e458bf
1 changed files with 1 additions and 1 deletions

View File

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