Appease the linter

This looks awkward, but should pass.
pull/21833/head
Travis Ralston 2019-08-15 13:31:45 -06:00
parent 27504e1578
commit e2f013ddb4
1 changed files with 2 additions and 3 deletions

View File

@ -140,9 +140,8 @@ export default class Field extends React.PureComponent {
render() {
const {
element, prefix, onValidate, children, tooltipContent,
flagInvalid, ...inputProps,
} = this.props;
element, prefix, onValidate, children, tooltipContent, flagInvalid,
...inputProps} = this.props;
const inputElement = element || "input";