Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
steve8708 committed Oct 18, 2024
1 parent 4649af6 commit d4f9453
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/generators/mitosis/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ export const blockToMitosis = (
if (value.length > 1) {
str += '<>';
}
str += json.slots[key].map((item) => blockToMitosis(item, options, component)).join('\n');
str += json.slots[key]
.map((item) => blockToMitosis(item, options, component, insideJsx))
.join('\n');
if (value.length > 1) {
str += '</>';
}
Expand Down

0 comments on commit d4f9453

Please sign in to comment.