lint
This commit is contained in:
parent
a196ed88e8
commit
0f1d9f8d4a
2 changed files with 8 additions and 4 deletions
|
|
@ -113,7 +113,10 @@ const startFetching = ({ credentials, store }) => {
|
|||
// Initially there's set flag to silence all desktop notifications so
|
||||
// that there won't spam of them when user just opened up the FE we
|
||||
// reset that flag after a while to show new notifications once again.
|
||||
setTimeout(() => useNotificationsStore().setNotificationsSilence(false), 10000)
|
||||
setTimeout(
|
||||
() => useNotificationsStore().setNotificationsSilence(false),
|
||||
10000,
|
||||
)
|
||||
const boundFetchAndUpdate = () => fetchAndUpdate({ credentials, store })
|
||||
boundFetchAndUpdate()
|
||||
return promiseInterval(boundFetchAndUpdate, 10000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue