aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Utility
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-03-01 15:58:14 -0800
committerFuwn <[email protected]>2026-03-01 15:58:14 -0800
commit5daabeb615d2b17bdca4694b21c5caf5da88c3bb (patch)
treed539013d3107d4cf016a07ab1b4efbe965d917e6 /src/lib/Utility
parentchore(biome): re-enable noDuplicateCase rule (diff)
downloaddue.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.ts2
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);