Skip to content

Commit

Permalink
fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
ido committed Jan 1, 2017
1 parent d853510 commit b125af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reactTemplates.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down

0 comments on commit b125af0

Please sign in to comment.