RubyGems
npm
Organizations
Log in
Sign up
npm
@pronto-tools-and-more/components-renderer
Versions diffs
6.19.0 → 6.22.1
@pronto-tools-and-more/components-renderer 6.19.0 → 6.22.1
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
package/package.json
+1
-1
package/src/parts/RenderElement/RenderElement.js
+3
-0
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@pronto-tools-and-more/components-renderer",
3
-
"version": "6.
19
.
0
",
3
+
"version": "6.
22
.
1
",
4
4
"description": "",
5
5
"main": "src/componentsRendererMain.js",
6
6
"type": "module",
package/src/parts/RenderElement/RenderElement.js
CHANGED
Viewed
@@ -39,5 +39,8 @@ export const renderElement = (element) => {
39
39
...renderedChildren,
40
40
]);
41
41
}
42
+
if (element.type) {
43
+
return element;
44
+
}
42
45
return {};
43
46
};