mirror of
https://github.com/nickzuber/meteorite.git
synced 2024-09-11 11:36:03 +03:00
Fix bug with error not resetting
This commit is contained in:
parent
206a4f5b80
commit
37dea42397
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user