mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix: react runtime warning in <Input>
This commit is contained in:
parent
b4947999df
commit
7fcd6876eb
@ -243,10 +243,9 @@ export class Input extends React.Component<InputProps, State> {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { multiLine, showValidationLine, validators, theme, maxRows, children, ...inputProps } = this.props;
|
||||
let { className, iconLeft, iconRight } = this.props;
|
||||
const { maxLength, rows, disabled } = this.props;
|
||||
const { focused, dirty, valid, validating, errors } = this.state;
|
||||
var { multiLine, showValidationLine, validators, theme, maxRows, iconLeft, iconRight, children, ...inputProps } = this.props;
|
||||
var { className, maxLength, rows, disabled } = this.props;
|
||||
var { focused, dirty, valid, validating, errors } = this.state;
|
||||
|
||||
className = cssNames("Input", className, {
|
||||
[`theme ${theme}`]: theme,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user