react-magma-dom 4.7.0-next.54 → 4.7.0-next.55

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.
@@ -15997,7 +15997,6 @@ function useTreeView(props) {
15997
15997
  }),
15998
15998
  hasIcons = _React$useState2[0];
15999
15999
  var selectedItems = React.useMemo(function () {
16000
- console.log(items);
16001
16000
  return items.filter(function (item) {
16002
16001
  return item.checkedStatus === exports.IndeterminateCheckboxStatus.checked;
16003
16002
  });
@@ -16010,7 +16009,7 @@ function useTreeView(props) {
16010
16009
  }, [items, rawInitialExpandedItems]);
16011
16010
  var itemToFocus = React.useMemo(function () {
16012
16011
  var enabledItems = items.filter(function (item) {
16013
- return !(item != null && item.isDisabled);
16012
+ return !item.isDisabled;
16014
16013
  });
16015
16014
  var firstItem = enabledItems[0];
16016
16015
  if (selectable === exports.TreeViewSelectable.off) {