1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-10 19:43:07 +03:00

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);
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
const inputElement = element || "input";