diff options
| author | Fuwn <[email protected]> | 2026-03-01 15:58:14 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-03-01 15:58:14 -0800 |
| commit | 5daabeb615d2b17bdca4694b21c5caf5da88c3bb (patch) | |
| tree | d539013d3107d4cf016a07ab1b4efbe965d917e6 /src/lib/Utility | |
| parent | chore(biome): re-enable noDuplicateCase rule (diff) | |
| download | due.moe-5daabeb615d2b17bdca4694b21c5caf5da88c3bb.tar.xz due.moe-5daabeb615d2b17bdca4694b21c5caf5da88c3bb.zip | |
chore(biome): re-enable noDoubleEquals rule
Diffstat (limited to 'src/lib/Utility')
| -rw-r--r-- | src/lib/Utility/notifications.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Utility/notifications.ts b/src/lib/Utility/notifications.ts index 596eec2a..92f1f1f9 100644 --- a/src/lib/Utility/notifications.ts +++ b/src/lib/Utility/notifications.ts @@ -44,7 +44,7 @@ const updateLocalNotifications = async () => { const recentNotifications = await notifications(user.user.accessToken); - if ((await window.Notification.requestPermission()) == 'granted') + if ((await window.Notification.requestPermission()) === 'granted') if (recentNotifications && isNotificationQueued(recentNotifications, user.lastNotificationID)) { await updateLastNotificationID(user.id, recentNotifications); |