Change to React.Fragment
This commit is contained in:
parent
e2a6b5ee81
commit
75e3f0f4d3
1 changed files with 4 additions and 4 deletions
|
|
@ -903,7 +903,7 @@ class View extends React.Component {
|
||||||
}
|
}
|
||||||
if (this.state.recordingID === null) {
|
if (this.state.recordingID === null) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<React.Fragment>
|
||||||
<div className="content-header-extra">
|
<div className="content-header-extra">
|
||||||
<table className="form-table-ct">
|
<table className="form-table-ct">
|
||||||
<thead>
|
<thead>
|
||||||
|
|
@ -959,11 +959,11 @@ class View extends React.Component {
|
||||||
hostname={this.state.hostname}
|
hostname={this.state.hostname}
|
||||||
list={this.state.recordingList}
|
list={this.state.recordingList}
|
||||||
diff_hosts={this.state.diff_hosts} />
|
diff_hosts={this.state.diff_hosts} />
|
||||||
</div>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<div>
|
<React.Fragment>
|
||||||
<Recording recording={this.recordingMap[this.state.recordingID]} onTsChange={this.handleTsChange} logsTs={this.state.logsTs} />
|
<Recording recording={this.recordingMap[this.state.recordingID]} onTsChange={this.handleTsChange} logsTs={this.state.logsTs} />
|
||||||
<div className="container-fluid">
|
<div className="container-fluid">
|
||||||
<div className="row">
|
<div className="row">
|
||||||
|
|
@ -973,7 +973,7 @@ class View extends React.Component {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue