ywana-core8 0.1.53 → 0.1.54

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.umd.js CHANGED
@@ -3627,6 +3627,7 @@
3627
3627
  };
3628
3628
  var sections = React.useMemo(function () {
3629
3629
  return children.reduce(function (acc, child) {
3630
+ if (!child || !child.props) return acc;
3630
3631
  var section = child.props.section || "";
3631
3632
  if (!acc[section]) acc[section] = [];
3632
3633
  var title = child.props.title;