We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce931e7 commit 5c8bc51Copy full SHA for 5c8bc51
src/components/form/InputSearch.js
@@ -4,9 +4,7 @@ import PropTypes from 'prop-types';
4
export default class InputSearch extends Component {
5
handleKeyPress = event => {
6
const { search } = this.props;
7
- if (event.charCode === 13) {
8
- search(event.target.value);
9
- }
+ search(event.target.value);
10
};
11
12
render() {
0 commit comments