Skip to content

Commit 8775986

Browse files
committed
refactor: native notif
Signed-off-by: Adam Setch <[email protected]>
1 parent 2ab57e2 commit 8775986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderer/utils/notifications/native.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ export const triggerNativeNotifications = (
2626
);
2727

2828
const accountNewNotifications = accountNotifications.notifications.filter(
29-
(item) => {
30-
return !accountPreviousNotificationsIds.has(`${item.id}`);
29+
(notification) => {
30+
return !accountPreviousNotificationsIds.has(notification.id);
3131
},
3232
);
3333

0 commit comments

Comments
 (0)