Actually appease linter

This commit is contained in:
David Baker 2019-08-12 12:05:25 +01:00
parent bf9caa7fd8
commit 06905bc5bb

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";