[Glitch] Fixed ESLint error

Port a2da02626e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
abcang authored and Thibaut Girka committed 2020-11-25 15:56:43 +01:00
1 parent 3d970faeb1
commit b9fc807115
4 files changed
+6 -3

No files matched your search

@@ -345,7 +345,7 @@ export function setupBrowserNotifications() {
if ('Notification' in window && 'permissions' in navigator) {
navigator.permissions.query({ name: 'notifications' }).then((status) => {
status.onchange = () => dispatch(setBrowserPermission(Notification.permission));
});
}).catch(console.warn);
}
};
}