@tanstack/table-core 8.5.18 → 8.5.19

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.
@@ -3098,7 +3098,7 @@
3098
3098
  const sortData = rows => {
3099
3099
  // This will also perform a stable sorting using the row index
3100
3100
  // if needed.
3101
- const sortedData = rows.slice();
3101
+ const sortedData = [...rows];
3102
3102
  sortedData.sort((rowA, rowB) => {
3103
3103
  for (let i = 0; i < availableSorting.length; i += 1) {
3104
3104
  const sortEntry = availableSorting[i];