Actually appease linter
parent
bf9caa7fd8
commit
06905bc5bb
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue