From 3027e6fea68710b8da0b8e89166675a75c8eb0c7 Mon Sep 17 00:00:00 2001 From: Bianca Date: Mon, 31 Aug 2026 23:18:20 +0200 Subject: [PATCH] fix: Add getRowId function for row identification in CombinedGroupsTable and WhatsappGroupsPage --- src/features/groups-by-label/combined-groups-table.tsx | 1 + src/features/whatsapp/whatsapp-groups-page.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/features/groups-by-label/combined-groups-table.tsx b/src/features/groups-by-label/combined-groups-table.tsx index 29b9d33..c41e311 100644 --- a/src/features/groups-by-label/combined-groups-table.tsx +++ b/src/features/groups-by-label/combined-groups-table.tsx @@ -221,6 +221,7 @@ export function CombinedGroupsTable({ key: "groups-by-label-combined", columns, data: displayRows, + getRowId: (row) => row.key, initialState: { sorting: [{ id: "title", desc: false }], pagination: { pageIndex: 0, pageSize: 20 } }, }) diff --git a/src/features/whatsapp/whatsapp-groups-page.tsx b/src/features/whatsapp/whatsapp-groups-page.tsx index 55a51b8..67deda4 100644 --- a/src/features/whatsapp/whatsapp-groups-page.tsx +++ b/src/features/whatsapp/whatsapp-groups-page.tsx @@ -150,6 +150,7 @@ export function WhatsappGroupsPage({ key: "whatsapp-groups", columns, data: visibleGroups, + getRowId: (group) => String(group.id), initialState: { sorting: [{ id: "title", desc: false }], pagination: { pageIndex: 0, pageSize: 20 } }, })