group-index-fix

This commit is contained in:
Untone 2024-03-04 15:35:34 +03:00
parent a207aeeb44
commit 1e27546b3e

View File

@ -51,7 +51,7 @@ export const NotificationsProvider = (props: { children: JSX.Element }) => {
const unread = notificationsResult?.unread || 0
const newGroupsEntries = groups.reduce((acc, group: NotificationGroup) => {
acc[group.id] = group
acc[group.thread] = group
return acc
}, {})