@pushwoosh/dumb-components 1.0.46 → 1.0.48

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.
@@ -99,7 +99,7 @@ export const RichMessageEditor = ({
99
99
  }), showDrop && React.createElement(DropContent, {
100
100
  top: showDrop.yValue,
101
101
  left: showDrop.xValue
102
- }, showDrop.type === 'personalization' && (renderDynamicContent === null || renderDynamicContent === void 0 ? void 0 : renderDynamicContent({
102
+ }, showDrop.type === 'personalization' && getDcByPath(editor.children, showDrop.path) && (renderDynamicContent === null || renderDynamicContent === void 0 ? void 0 : renderDynamicContent({
103
103
  dc: getDcByPath(editor.children, showDrop.path).dc,
104
104
  onChange: newDC => {
105
105
  Transforms.setNodes(editor, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/dumb-components",
3
- "version": "1.0.46",
3
+ "version": "1.0.48",
4
4
  "description": "React components to build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",