We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c5b1c8 commit 3131020Copy full SHA for 3131020
packages/react-sdk/src/component-generator.ts
@@ -256,9 +256,7 @@ export const generateJsxElement = ({
256
generatedElement += `</Fragment>\n`;
257
generatedElement += `)}\n`;
258
} else if (instance.component === blockComponent) {
259
- if (instance.children.length > 1) {
260
- generatedElement += children;
261
- }
+ generatedElement += children;
262
} else {
263
const [_namespace, shortName] = parseComponentName(instance.component);
264
const componentVariable = scope.getName(instance.component, shortName);
0 commit comments