Fix console spam about prop being placed on div
parent
7da02d52d7
commit
766a3b0273
|
@ -233,7 +233,7 @@ class CellEditorOverlay extends Component {
|
||||||
axes={axes}
|
axes={axes}
|
||||||
views={[]}
|
views={[]}
|
||||||
/>
|
/>
|
||||||
<div className="overlay-technology--editor">
|
<CEOBottom>
|
||||||
<OverlayControls
|
<OverlayControls
|
||||||
isDisplayOptionsTabActive={isDisplayOptionsTabActive}
|
isDisplayOptionsTabActive={isDisplayOptionsTabActive}
|
||||||
onClickDisplayOptions={this.handleClickDisplayOptionsTab}
|
onClickDisplayOptions={this.handleClickDisplayOptionsTab}
|
||||||
|
@ -260,14 +260,19 @@ class CellEditorOverlay extends Component {
|
||||||
onDeleteQuery={this.handleDeleteQuery}
|
onDeleteQuery={this.handleDeleteQuery}
|
||||||
activeQueryIndex={activeQueryIndex}
|
activeQueryIndex={activeQueryIndex}
|
||||||
/>}
|
/>}
|
||||||
</div>
|
</CEOBottom>
|
||||||
</ResizeContainer>
|
</ResizeContainer>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const {arrayOf, func, number, shape, string} = PropTypes
|
const CEOBottom = ({children}) =>
|
||||||
|
<div className="overlay-technology--editor">
|
||||||
|
{children}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
const {arrayOf, func, node, number, shape, string} = PropTypes
|
||||||
|
|
||||||
CellEditorOverlay.propTypes = {
|
CellEditorOverlay.propTypes = {
|
||||||
onCancel: func.isRequired,
|
onCancel: func.isRequired,
|
||||||
|
@ -297,4 +302,8 @@ CellEditorOverlay.propTypes = {
|
||||||
dashboardID: string.isRequired,
|
dashboardID: string.isRequired,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CEOBottom.propTypes = {
|
||||||
|
children: node,
|
||||||
|
}
|
||||||
|
|
||||||
export default CellEditorOverlay
|
export default CellEditorOverlay
|
||||||
|
|
Loading…
Reference in New Issue