diff --git a/ui/src/shared/components/FillQuery.js b/ui/src/shared/components/FillQuery.js index 5a2163bd67..6dfdfdf86e 100644 --- a/ui/src/shared/components/FillQuery.js +++ b/ui/src/shared/components/FillQuery.js @@ -22,12 +22,6 @@ class FillQuery extends Component { } } - static defaultProps = { - size: 'sm', - theme: 'blue', - value: NULL_STRING, - } - handleDropdown = item => { if (item.text === NUMBER) { this.setState({selected: item}, () => { @@ -110,6 +104,12 @@ class FillQuery extends Component { const {func, string} = PropTypes +FillQuery.defaultProps = { + size: 'sm', + theme: 'blue', + value: NULL_STRING, +} + FillQuery.propTypes = { onSelection: func.isRequired, value: string,