@majoo-ui/react 1.60.11 → 1.60.12

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/index.esm.js CHANGED
@@ -51463,7 +51463,7 @@ function EditableTable(props) {
51463
51463
  }), void 0);
51464
51464
  };
51465
51465
  const tableRowData = virtualized ? virtualRows : rows;
51466
- useEffect(() => {
51466
+ useMountedLayoutEffect(() => {
51467
51467
  if (onSortByChange) {
51468
51468
  onSortByChange(sortBy);
51469
51469
  }
package/index.umd.js CHANGED
@@ -51960,7 +51960,7 @@
51960
51960
  }), void 0);
51961
51961
  };
51962
51962
  var tableRowData = virtualized ? virtualRows : rows;
51963
- React.useEffect(function () {
51963
+ reactTable.useMountedLayoutEffect(function () {
51964
51964
  if (onSortByChange) {
51965
51965
  onSortByChange(sortBy);
51966
51966
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "1.60.11",
3
+ "version": "1.60.12",
4
4
  "dependencies": {
5
5
  "@majoo-ui/core": "^1.31.3",
6
6
  "@majoo-ui/helpers": "^1.30.5",