1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Appease the linter

This looks awkward, but should pass.
This commit is contained in:
Travis Ralston
2019-08-15 13:31:45 -06:00
parent 27504e1578
commit e2f013ddb4

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