Fix eslint6 react/self-closing-comp

[MAILPOET-1140]
This commit is contained in:
Pavel Dohnal
2018-03-15 09:31:41 +00:00
parent 4177701044
commit c39aeb6283
5 changed files with 4 additions and 6 deletions

View File

@ -32,8 +32,7 @@ function Tooltip(props) {
data-event="click"
data-tip
data-for={tooltipId}
>
</span>
/>
<ReactTooltip
globalEventOff="click"
multiline={true}

View File

@ -72,7 +72,7 @@ const ListingColumn = React.createClass({
label = (
<a onClick={this.handleSort}>
<span>{ this.props.column.label }</span>
<span className="sorting-indicator"></span>
<span className="sorting-indicator" />
</a>
);
} else {

View File

@ -129,7 +129,7 @@ const QueueMixin = {
<span
className="mailpoet_progress_bar"
style={{ width: `${progressBarWidth}%` }}
></span>
/>
<span className="mailpoet_progress_label">
{ percentage }
</span>

View File

@ -107,7 +107,7 @@ class TemplateBox extends React.Component {
preview = (
<a href="javascript:;" onClick={this.onPreview}>
<img src={thumbnail} />
<div className="mailpoet_overlay"></div>
<div className="mailpoet_overlay" />
</a>
);
}