Browse Source

Fix scroll to top not registering because of wrong debounce usage

master
Eugen 7 years ago
committed by GitHub
parent
commit
f338cc6c94
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/assets/javascripts/components/features/ui/containers/status_list_container.jsx

+ 1
- 1
app/assets/javascripts/components/features/ui/containers/status_list_container.jsx 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));
},

Loading…
Cancel
Save