Skip to content

Commit 0e010d7

Browse files
author
jonisaa
committed
Fix one warning from react-bootstrap
1 parent c1fd352 commit 0e010d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/common/FormControl.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ class FormControl extends Component {
2424
};
2525

2626
getInput = () => {
27-
let { value, placeholder, help, componentClass, children, rows } = this.props;
28-
let formControlProps = { value, placeholder, help, componentClass, rows };
27+
let { value, placeholder, componentClass, children, rows } = this.props;
28+
let formControlProps = { value, placeholder, componentClass, rows };
2929

3030
return (
31-
<BootstrapFormControl type="text" ref="input" onChange={this.handleChange} onBlur={this.handleBlur} {...formControlProps} hasFeedback>
31+
<BootstrapFormControl type="text" ref="input" onChange={this.handleChange} onBlur={this.handleBlur} {...formControlProps}>
3232
{ children }
3333
</BootstrapFormControl>
3434
)

0 commit comments

Comments
 (0)