mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
trim some trailing spaces
This commit is contained in:
parent
12998d1022
commit
d853510890
@ -427,7 +427,7 @@ function convertHtmlToReact(node, context) {
|
||||
if (node.name === virtualNode) { //eslint-disable-line wix-editor/prefer-ternary
|
||||
data.body = `[${_.compact(children).join(',')}]`;
|
||||
} else {
|
||||
data.body = _.template(getTagTemplateString(!hasNonSimpleChildren(node), reactSupport.shouldUseCreateElement(context)))(data);
|
||||
data.body = _.template( getTagTemplateString(!hasNonSimpleChildren(node), reactSupport.shouldUseCreateElement(context)))(data);
|
||||
}
|
||||
|
||||
if (node.attribs[scopeAttr]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user