From 3478fd9f6bb94b94ac35c0ef366920d28943f868 Mon Sep 17 00:00:00 2001 From: Rafael Wendel Date: Sun, 22 Nov 2020 13:07:56 -0300 Subject: [PATCH] Remove unwanted props from Select component (#5277) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Explicitly selected props so as to avoid errors from non-wanted props * Simplified approach * Ran prettier 😬 * Fixed minor issues --- client/app/components/QueryBasedParameterInput.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/components/QueryBasedParameterInput.jsx b/client/app/components/QueryBasedParameterInput.jsx index 2479d51129..020cde3f06 100644 --- a/client/app/components/QueryBasedParameterInput.jsx +++ b/client/app/components/QueryBasedParameterInput.jsx @@ -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 (