Updated timeline/notification dequeue to be in componentDidMount
This commit is contained in:
@@ -69,10 +69,10 @@ class Notifications extends React.PureComponent {
|
||||
this.handleScrollToTop.cancel();
|
||||
this.handleScroll.cancel();
|
||||
this.props.dispatch(scrollTopNotifications(false));
|
||||
this.handleDequeueNotifications();
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.handleDequeueNotifications();
|
||||
this.props.dispatch(scrollTopNotifications(true));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user