From 37dea42397acbc318f1c068a25ccbc0fd892433f Mon Sep 17 00:00:00 2001 From: Nicholas Zuber Date: Mon, 12 Nov 2018 19:34:23 -0500 Subject: [PATCH] Fix bug with error not resetting --- src/pages/Notifications/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/Notifications/index.js b/src/pages/Notifications/index.js index f370eea..0cc399c 100644 --- a/src/pages/Notifications/index.js +++ b/src/pages/Notifications/index.js @@ -154,6 +154,7 @@ class NotificationsPage extends React.Component { this.syncer = setInterval(() => { this.props.notificationsApi.fetchNotificationsSync() + .then(error => this.setState({error: null})) .catch(error => this.setState({error})); this.setState({currentTime: moment()}); }, 8 * 1000);