lilact 0.26.9 → 0.26.11

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.
@@ -3121,7 +3121,11 @@ function createPortal(children, element) {
3121
3121
  return createComponent2(lilact_default.Portal, { "view": element }, children);
3122
3122
  }
3123
3123
  function cloneComponent(component, propsPatch, ...children) {
3124
- return { entity: component.entity, props: { ...component.props, ...propsPatch, children }, [CORE]: null };
3124
+ const cc = { entity: component.entity, props: { ...component.props, ...propsPatch }, [CORE]: null };
3125
+ if (children == null ? void 0 : children.length) {
3126
+ cc.props.children = children;
3127
+ }
3128
+ return cc;
3125
3129
  }
3126
3130
  var cloneElement = cloneComponent;
3127
3131
  function render(component, element) {