@tanstack/react-table 8.2.0 → 8.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3573,7 +3573,7 @@ function getGroupedRowModel() {
3573
3573
  const subRows = groupUpRecursively(groupedRows, depth + 1, id); // Flatten the leaf rows of the rows in this group
3574
3574
 
3575
3575
  const leafRows = depth ? flattenBy(groupedRows, row => row.subRows) : groupedRows;
3576
- const row = createRow(table, id, undefined, index, depth);
3576
+ const row = createRow(table, id, leafRows[0].original, index, depth);
3577
3577
  Object.assign(row, {
3578
3578
  groupingColumnId: columnId,
3579
3579
  groupingValue,