Skip to content

Commit

Permalink
Remove unwanted props from Select component (getredash#5277)
Browse files Browse the repository at this point in the history
* Explicitly selected props so as to avoid errors from non-wanted props

* Simplified approach

* Ran prettier 😬

* Fixed minor issues
  • Loading branch information
rafawendel authored and halx4 committed Jan 28, 2021
1 parent c7f71d8 commit 3478fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/components/QueryBasedParameterInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class QueryBasedParameterInput extends React.Component {
}

render() {
const { className, value, mode, onSelect, ...otherProps } = this.props;
const { className, mode, onSelect, queryId, value, ...otherProps } = this.props;
const { loading, options } = this.state;
return (
<span>
Expand Down

0 comments on commit 3478fd9

Please sign in to comment.