@plasmicapp/react-web 0.2.282 → 0.2.283

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);