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