@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.
package/dist/index.cjs.js CHANGED
@@ -723,7 +723,8 @@ function wrapFlexContainerChildren(children, hasGap) {
723
723
  }
724
724
  }
725
725
  function createPlasmicElement(override, defaultRoot, defaultProps, wrapChildrenInFlex) {
726
- if (!override || Object.keys(override).length === 0) {
726
+ if (!override ||
727
+ (typeof override === "object" && Object.keys(override).length === 0)) {
727
728
  return createElementWithChildren(defaultRoot, defaultProps, defaultProps.children);
728
729
  }
729
730
  var override2 = deriveOverride(override);