drive-by: promiseInterval fetches on creation

This commit is contained in:
Henry Jameson 2026-09-03 21:23:14 +03:00
commit e682a372d8

View file

@ -118,8 +118,6 @@ const notificationsFetcher = (credentials) => {
const startFetching = () => { const startFetching = () => {
if (interval.value) throw new Error('Interval already exists!') if (interval.value) throw new Error('Interval already exists!')
fetchAndUpdate()
interval.value = promiseInterval(fetchAndUpdate, 10000) interval.value = promiseInterval(fetchAndUpdate, 10000)
} }