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 a5fe2b0 commit 083c1e4Copy full SHA for 083c1e4
src/core/compiler/transforms/transformText.ts
@@ -37,7 +37,7 @@ export const transformText: NodeTransform = (node, context) => {
37
38
if (
39
node.type === 'JSXElement' &&
40
- !isComponentNode(node) &&
+ !(isComponentNode(node) as boolean) &&
41
isAllTextLike(node.children)
42
) {
43
processTextLikeContainer(
0 commit comments