mirror of
https://github.com/appwrite/console.git
synced 2026-04-07 19:17:46 +00:00
chore: run formatter
This commit is contained in:
@@ -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>) {
|
||||
|
||||
Reference in New Issue
Block a user