Remove unnecessary wrapping DIV

pull/10616/head
Alex P 2017-06-08 14:49:41 -07:00
parent e99fade37c
commit ca2104c9f7
1 changed files with 7 additions and 11 deletions

View File

@ -105,17 +105,13 @@ class AlertsApp extends Component {
renderSubComponents() {
const {source, isWidget} = this.props
return (
<div>
{this.state.hasKapacitor
? <AlertsTable
source={source}
alerts={this.state.alerts}
shouldNotBeFilterable={isWidget}
/>
: <NoKapacitorError source={source} />}
</div>
)
return this.state.hasKapacitor
? <AlertsTable
source={source}
alerts={this.state.alerts}
shouldNotBeFilterable={isWidget}
/>
: <NoKapacitorError source={source} />
}
handleToggleTime() {