@plasmicapp/react-web 0.2.282 → 0.2.284

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.
@@ -705,7 +705,8 @@ function wrapFlexContainerChildren(children, hasGap) {
705
705
  }
706
706
  }
707
707
  function createPlasmicElement(override, defaultRoot, defaultProps, wrapChildrenInFlex) {
708
- if (!override || Object.keys(override).length === 0) {
708
+ if (!override ||
709
+ (typeof override === "object" && Object.keys(override).length === 0)) {
709
710
  return createElementWithChildren(defaultRoot, defaultProps, defaultProps.children);
710
711
  }
711
712
  var override2 = deriveOverride(override);
@@ -1543,7 +1544,7 @@ function renderPlasmicSlot(opts) {
1543
1544
  if (nonEmptyProps.length === 0) {
1544
1545
  // No attrs to apply to the slot (which means the slot is unstyled), then
1545
1546
  // just render the content directly; no need for style wrapper.
1546
- return React.createElement(React.Fragment, null, content);
1547
+ return content;
1547
1548
  }
1548
1549
  return React.createElement(as || "span", mergeProps({ className: "__wab_slot" }, rest), content);
1549
1550
  }