Actually appease linter

pull/21833/head
David Baker 2019-08-12 12:05:25 +01:00
parent bf9caa7fd8
commit 06905bc5bb
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ export default class Field extends React.PureComponent {
}, VALIDATION_THROTTLE_MS); }, VALIDATION_THROTTLE_MS);
render() { render() {
const { element, prefix, onValidate, children, tooltip, ...inputProps } = this.props; const { element, prefix, onValidate, children, ...inputProps } = this.props;
delete inputProps.tooltip; // needs to be removed from props but we don't need it here delete inputProps.tooltip; // needs to be removed from props but we don't need it here
const inputElement = element || "input"; const inputElement = element || "input";