mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Appease eslint
This commit is contained in:
@@ -216,7 +216,7 @@ ReactDOMComponent.Mixin = {
|
||||
assertValidProps(this, this._currentElement.props);
|
||||
var tagOpen = this._createOpenTagMarkupAndPutListeners(transaction);
|
||||
var tagContent = this._createContentMarkup(transaction, context);
|
||||
if(!tagContent && omittedCloseTags[this._tag]){
|
||||
if (!tagContent && omittedCloseTags[this._tag]) {
|
||||
return tagOpen + '/>';
|
||||
}
|
||||
return tagOpen + '>' + tagContent + '</' + this._tag + '>';
|
||||
|
||||
Reference in New Issue
Block a user