@sheinx/hooks 3.6.7-beta.3 → 3.6.7-beta.4

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.
@@ -644,7 +644,7 @@ var useTree = function useTree(props) {
644
644
  updateExpanded(nextExpanded);
645
645
  }
646
646
  updateInnerCheckStatus();
647
- }, [data]);
647
+ }, [props.data]);
648
648
  (0, _react.useEffect)(function () {
649
649
  if (props.datum) return;
650
650
  setValue(value);
@@ -637,7 +637,7 @@ var useTree = function useTree(props) {
637
637
  updateExpanded(nextExpanded);
638
638
  }
639
639
  updateInnerCheckStatus();
640
- }, [data]);
640
+ }, [props.data]);
641
641
  useEffect(function () {
642
642
  if (props.datum) return;
643
643
  setValue(value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/hooks",
3
- "version": "3.6.7-beta.3",
3
+ "version": "3.6.7-beta.4",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",