fix eslint error

This commit is contained in:
ido 2017-01-01 16:56:20 +02:00
parent d853510890
commit b125af0440
1 changed files with 1 additions and 1 deletions

View File

@ -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]) {