Skip to content

Commit 261cb61

Browse files
author
Vikas Agarwal
committed
Github issue#2680, Dashboard is auto refreshing in every minute
— Patch to disable the auto refresh, will fix it properly later
1 parent 606bd73 commit 261cb61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/projects/detail/components/PostsRefreshPrompt/PostsRefreshPrompt.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class PostsRefreshPrompt extends React.Component {
4343

4444
componentWillUnmount() {
4545
window.removeEventListener('scroll', this.onScroll)
46-
clearInterval(this.refreshUnreadUpdate)
46+
// clearInterval(this.refreshUnreadUpdate)
4747
}
4848

4949
componentDidMount() {
@@ -52,7 +52,7 @@ class PostsRefreshPrompt extends React.Component {
5252
scrolled: window.scrollY > 0,
5353
})
5454

55-
this.refreshUnreadUpdate = setInterval(this.checkForUnreadPosts, REFRESH_UNREAD_UPDATE_INTERVAL)
55+
// this.refreshUnreadUpdate = setInterval(this.checkForUnreadPosts, REFRESH_UNREAD_UPDATE_INTERVAL)
5656
}
5757

5858
getUnreadTopicAndPostChangedNotifications() {

0 commit comments

Comments
 (0)