Skip to content

Commit

Permalink
fixed render call to reference the right function
Browse files Browse the repository at this point in the history
  • Loading branch information
avigoldman committed Oct 26, 2017
1 parent 8ff40ff commit 5fd24ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/heml-render/src/renderElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function render (name, attrs, contents) {

/** 1. catch shorthands for rerendering the element */
if (renderResults.length === 1 && renderResults[0] === true) {
return renderResults(name.tagName, attrs, contents)
return render(name.tagName, attrs, contents)
}

/** 2. we want to return synchronously if we can */
Expand Down

0 comments on commit 5fd24ff

Please sign in to comment.