@tanstack/table-core 8.5.21 → 8.5.22

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/table-core",
3
3
  "author": "Tanner Linsley",
4
- "version": "8.5.21",
4
+ "version": "8.5.22",
5
5
  "description": "Headless UI for building powerful tables & datagrids for TS/JS.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/tanstack/table#readme",
@@ -176,7 +176,7 @@ function groupBy<TData extends RowData>(rows: Row<TData>[], columnId: string) {
176
176
  if (!previous) {
177
177
  map.set(resKey, [row])
178
178
  } else {
179
- map.set(resKey, [...previous, row])
179
+ previous.push(row)
180
180
  }
181
181
  return map
182
182
  }, groupMap)