@tanstack/react-table 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.
@@ -3108,7 +3108,7 @@ function getSortedRowModel() {
3108
3108
  const sortData = rows => {
3109
3109
  // This will also perform a stable sorting using the row index
3110
3110
  // if needed.
3111
- const sortedData = rows.slice();
3111
+ const sortedData = [...rows];
3112
3112
  sortedData.sort((rowA, rowB) => {
3113
3113
  for (let i = 0; i < availableSorting.length; i += 1) {
3114
3114
  const sortEntry = availableSorting[i];