1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00
This commit is contained in:
David Baker
2019-08-09 18:59:57 +01:00
parent c76514fceb
commit 4075cdde7f

View File

@@ -138,6 +138,7 @@ export default class Field extends React.PureComponent {
render() { render() {
const { element, prefix, onValidate, children, tooltip, ...inputProps } = this.props; const { element, prefix, onValidate, children, tooltip, ...inputProps } = this.props;
!tooltip; // needs to be removed from props but we don't need it here, so otherwise unused variable
const inputElement = element || "input"; const inputElement = element || "input";