diff --git a/src/containers/TexterTodoList.jsx b/src/containers/TexterTodoList.jsx index 8388c3c7d..d9d1bc363 100644 --- a/src/containers/TexterTodoList.jsx +++ b/src/containers/TexterTodoList.jsx @@ -38,7 +38,6 @@ class TexterTodoList extends React.Component { this.props.notifications.stopPolling(); this.props.notifications.startPolling(notificationPollDelay); // move the result to state - nextProps.notifications.user.notifications = []; // FUTURE: maybe append for a set of assignmentIds to display them nextState.notifications = notifications; } @@ -137,7 +136,8 @@ class TexterTodoList extends React.Component { { + autoHideDuration={4000} + onClose={() => { this.setState({ notifications: false }); }} />