mirror of https://github.com/vector-im/riot-web
linting
parent
8abb7ebc65
commit
2596a0ffc2
|
@ -239,7 +239,9 @@ module.exports = React.createClass({
|
|||
);
|
||||
}
|
||||
|
||||
let e2eIcon = this.props.e2eStatus ? <E2EIcon status={this.props.e2eStatus} /> : undefined;
|
||||
const e2eIcon = this.props.e2eStatus ?
|
||||
<E2EIcon status={this.props.e2eStatus} /> :
|
||||
undefined;
|
||||
|
||||
if (this.props.onCancelClick) {
|
||||
cancelButton = <CancelButton onClick={this.props.onCancelClick} />;
|
||||
|
|
Loading…
Reference in New Issue