Skip to content

Commit b16d428

Browse files
committed
delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent eb45b00 commit b16d428

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎src/components/views/dialogs/DevtoolsDialog.js‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class SendCustomEvent extends React.Component {
5757
_buttons() {
5858
return <div className="mx_Dialog_buttons">
5959
<button onClick={this.onBack}>{ _t('Back') }</button>
60-
{!this.state.message && <button onClick={this._send}>{ _t('Send') }</button>}
60+
{ !this.state.message && <button onClick={this._send}>{ _t('Send') }</button> }
6161
</div>;
6262
}
6363

@@ -83,7 +83,7 @@ class SendCustomEvent extends React.Component {
8383
}
8484

8585
_additionalFields() {
86-
return <div/>;
86+
return <div />;
8787
}
8888

8989
_onChange(e) {
@@ -94,15 +94,15 @@ class SendCustomEvent extends React.Component {
9494
if (this.state.message) {
9595
return <div>
9696
<div className="mx_Dialog_content">
97-
{this.state.message}
97+
{ this.state.message }
9898
</div>
99-
{this._buttons()}
99+
{ this._buttons() }
100100
</div>;
101101
}
102102

103103
return <div>
104104
<div className="mx_Dialog_content">
105-
{this._additionalFields()}
105+
{ this._additionalFields() }
106106
<div className="mx_TextInputDialog_label">
107107
<label htmlFor="eventType"> { _t('Event Type') } </label>
108108
</div>
@@ -117,7 +117,7 @@ class SendCustomEvent extends React.Component {
117117
<textarea id="evContent" onChange={this._onChange} value={this.state.input_evContent} className="mx_TextInputDialog_input" cols="63" rows="5" />
118118
</div>
119119
</div>
120-
{this._buttons()}
120+
{ this._buttons() }
121121
</div>;
122122
}
123123
}
@@ -223,7 +223,7 @@ class RoomStateExplorer extends React.Component {
223223
if (this.state.event) {
224224
return <div className="mx_ViewSource">
225225
<div className="mx_Dialog_content">
226-
<pre>{JSON.stringify(this.state.event.event, null, 2)}</pre>
226+
<pre>{ JSON.stringify(this.state.event.event, null, 2) }</pre>
227227
</div>
228228
<div className="mx_Dialog_buttons">
229229
<button onClick={this.onBack}>{ _t('Back') }</button>
@@ -271,7 +271,7 @@ class RoomStateExplorer extends React.Component {
271271
return <div>
272272
<div className="mx_Dialog_content">
273273
<input onChange={this.onQuery} placeholder={_t('Filter results')} size="64" className="mx_TextInputDialog_input mx_DevTools_RoomStateExplorer_query" value={this.state.query} />
274-
{rows}
274+
{ rows }
275275
</div>
276276
<div className="mx_Dialog_buttons">
277277
<button onClick={this.onBack}>{ _t('Back') }</button>

0 commit comments

Comments
 (0)