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