chore: run formatter

This commit is contained in:
Torsten Dittmann
2024-11-15 19:45:52 +01:00
parent 6c39ed22a3
commit 1ea4bccedf
+1 -1
View File
@@ -24,7 +24,7 @@ const notificationPrefs = (): Record<string, NotificationPrefItem> => {
}
// for some reason, the prefs become array as default or on all clear. let's reset.
return Array.isArray(prefs?.notificationPrefs) ? {} : prefs?.notificationPrefs ?? {};
return Array.isArray(prefs?.notificationPrefs) ? {} : (prefs?.notificationPrefs ?? {});
};
function updateNotificationPrefs(parsedPrefs: Record<string, NotificationPrefItem>) {