Skip to content

Commit

Permalink
Merge 1b2976a into ce931e7
Browse files Browse the repository at this point in the history
  • Loading branch information
mertkahyaoglu committed Mar 20, 2020
2 parents ce931e7 + 1b2976a commit 2db7ef2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/form/InputSearch.js
Expand Up @@ -4,9 +4,7 @@ import PropTypes from 'prop-types';
export default class InputSearch extends Component {
handleKeyPress = event => {
const { search } = this.props;
if (event.charCode === 13) {
search(event.target.value);
}
search(event.target.value);
};

render() {
Expand Down

0 comments on commit 2db7ef2

Please sign in to comment.