@tanstack/react-table 8.5.18 → 8.5.20

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.
@@ -20,10 +20,6 @@ import * as React from 'react';
20
20
  *
21
21
  * @license MIT
22
22
  */
23
- // Is this type a tuple?
24
-
25
- // If this type is a tuple, what indices are allowed?
26
-
27
23
  ///
28
24
 
29
25
  function functionalUpdate(updater, input) {
@@ -3106,7 +3102,7 @@ function getSortedRowModel() {
3106
3102
  const sortData = rows => {
3107
3103
  // This will also perform a stable sorting using the row index
3108
3104
  // if needed.
3109
- const sortedData = rows.slice();
3105
+ const sortedData = [...rows];
3110
3106
  sortedData.sort((rowA, rowB) => {
3111
3107
  for (let i = 0; i < availableSorting.length; i += 1) {
3112
3108
  const sortEntry = availableSorting[i];