We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8172cf commit 2897408Copy full SHA for 2897408
src/renderer/utils/notifications/notifications.ts
@@ -15,7 +15,7 @@ export function setTrayIconColor(notifications: AccountNotifications[]) {
15
16
export function getNotificationCount(notifications: AccountNotifications[]) {
17
return notifications.reduce(
18
- (memo, acc) => memo + acc.notifications.length,
+ (sum, account) => sum + account.notifications.length,
19
0,
20
);
21
}
0 commit comments