@secondstaxorg/sscomp 1.8.71 → 1.8.72

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/dist/index.js CHANGED
@@ -25534,7 +25534,7 @@ const TablePrimary = (props) => {
25534
25534
  const sortedItems = [...tbody];
25535
25535
  sortedItems.sort((a,b) => a[column].localeCompare(b[column]));
25536
25536
  let revSort = sortedItems.reverse();
25537
- setTbodyItems(revSort);
25537
+ setTbodyOri(revSort);
25538
25538
  setSortedCol('');
25539
25539
  }
25540
25540
  return
@@ -25543,7 +25543,7 @@ const TablePrimary = (props) => {
25543
25543
  if (tbody && tbody.length > 0){
25544
25544
  const sortedItems = [...tbody];
25545
25545
  sortedItems.sort((a,b) => a[column].localeCompare(b[column]));
25546
- setTbodyItems(sortedItems);
25546
+ setTbodyOri(sortedItems);
25547
25547
  }
25548
25548
  return
25549
25549
  }