mirror of https://github.com/vector-im/riot-web
lint
parent
c76514fceb
commit
4075cdde7f
|
@ -138,6 +138,7 @@ export default class Field extends React.PureComponent {
|
|||
|
||||
render() {
|
||||
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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue