@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/react-web",
3
- "version": "0.2.282",
3
+ "version": "0.2.283",
4
4
  "description": "plasmic library for rendering in the presentational style",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
@@ -157,5 +157,5 @@
157
157
  "react": ">=16.8.0",
158
158
  "react-dom": ">=16.8.0"
159
159
  },
160
- "gitHead": "1db3a3b08d369312fc417bf1da9c675dc50cfed1"
160
+ "gitHead": "e45fdd538908a6edf3fff079f403ae0070bc43d0"
161
161
  }
@@ -213,7 +213,8 @@ function wrapFlexContainerChildren(children, hasGap) {
213
213
  }
214
214
  }
215
215
  function createPlasmicElement(override, defaultRoot, defaultProps, wrapChildrenInFlex) {
216
- if (!override || Object.keys(override).length === 0) {
216
+ if (!override ||
217
+ (typeof override === "object" && Object.keys(override).length === 0)) {
217
218
  return createElementWithChildren(defaultRoot, defaultProps, defaultProps.children);
218
219
  }
219
220
  var override2 = deriveOverride(override);