File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/projects/detail/components/PostsRefreshPrompt Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import {
1616 filterNotificationsByProjectId ,
1717 filterTopicAndPostChangedNotifications ,
1818} from '../../../../routes/notifications/helpers/notifications'
19- import { REFRESH_UNREAD_UPDATE_INTERVAL , SCROLL_TO_MARGIN } from '../../../../config/constants'
19+ import { SCROLL_TO_MARGIN } from '../../../../config/constants'
2020
2121import Refresh from '../../../../assets/icons/icon-refresh.svg'
2222
@@ -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 ( ) {
You can’t perform that action at this time.
0 commit comments