From 1e27546b3eec31d04993cf0f89dce05448d364ad Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 4 Mar 2024 15:35:34 +0300 Subject: [PATCH] group-index-fix --- src/context/notifications.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context/notifications.tsx b/src/context/notifications.tsx index d4344035..b25ca037 100644 --- a/src/context/notifications.tsx +++ b/src/context/notifications.tsx @@ -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 }, {})