replace setInterval for timelne, notifications and follow requests
This commit is contained in:
parent
acc45b49a5
commit
2d914c331e
5 changed files with 34 additions and 9 deletions
|
@ -20,7 +20,7 @@ const api = {
|
|||
state.fetchers[fetcherName] = fetcher
|
||||
},
|
||||
removeFetcher (state, { fetcherName, fetcher }) {
|
||||
window.clearInterval(fetcher)
|
||||
state.fetchers[fetcherName]()
|
||||
delete state.fetchers[fetcherName]
|
||||
},
|
||||
setWsToken (state, token) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue