RubyGems
npm
Organizations
Log in
Sign up
npm
@pronto-tools-and-more/components-renderer
Versions diffs
6.18.1 → 6.20.0
@pronto-tools-and-more/components-renderer 6.18.1 → 6.20.0
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.
18
.
1
",
3
+
"version": "6.
20
.
0
",
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
};