1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-10-06 18:59:58 +01:00

fix: break out of infinite loop if there are no notifications

This commit is contained in:
Daniel Roe 2023-01-10 12:25:23 +00:00
parent fa801f9912
commit 60ccfc84fa

View file

@ -298,6 +298,9 @@ export const useNotifications = () => {
notifications[id]![1].push(notification.id) notifications[id]![1].push(notification.id)
} }
} }
else {
break
}
} while (true) } while (true)
} }