mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-17 10:21:44 +02:00
lint
This commit is contained in:
parent
c76514fceb
commit
4075cdde7f
@ -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";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user