@icos-desktop/react-components 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/build/index.js +1 -2
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -4,7 +4,6 @@ import { produce } from 'immer';
4
4
  import Highlighter from 'react-highlight-words';
5
5
  import { message, Spin, Tree, Popover } from 'antd';
6
6
  import { LoadingOutlined } from '@ant-design/icons';
7
- import { useUpdateEffect } from 'ahooks';
8
7
  import axios from 'axios';
9
8
  import { cloneDeep } from 'lodash';
10
9
 
@@ -1046,7 +1045,7 @@ var EntityTree = function (props) {
1046
1045
  node.total,
1047
1046
  "\uFF09")));
1048
1047
  };
1049
- useUpdateEffect(function () {
1048
+ useEffect(function () {
1050
1049
  getEntityClassTree$1();
1051
1050
  }, [viewCodes]);
1052
1051
  return (React__default.createElement("div", { className: styles.container },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icos-desktop/react-components",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "ICOS Desktop React Components",
5
5
  "module": "build/index.js",
6
6
  "types": "build/index.d.ts",