From b125af04404caa991c889833e07b68412571d743 Mon Sep 17 00:00:00 2001 From: ido Date: Sun, 1 Jan 2017 16:56:20 +0200 Subject: [PATCH] fix eslint error --- src/reactTemplates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reactTemplates.js b/src/reactTemplates.js index 62dfb41c..27c6c3c8 100644 --- a/src/reactTemplates.js +++ b/src/reactTemplates.js @@ -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]) {