refactor: reactions grouping and other fixes

This commit is contained in:
2024-01-09 16:40:31 +00:00
parent 4455651d47
commit 80fa5a132b
58 changed files with 344 additions and 501 deletions

View File

@ -78,8 +78,7 @@ export async function subscribeToNotifications(publisher: EventPublisher) {
if ("Notification" in window) {
try {
if (Notification.permission !== "granted") {
const res = await Notification.requestPermission();
console.debug(res);
await Notification.requestPermission();
}
} catch (e) {
console.error(e);