Skip to content

Commit

Permalink
fix: onKeyUp (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanix-Darker authored Aug 13, 2022
1 parent b68e4b2 commit 42f02ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class App extends Component {
ref={this.refText}
value={this.state.search}
className="search-zone"
onKeyup = {
onKeyUp = {
(event) => {
if (event.keyCode === 13)
window.document.location.href = "?q=" + this.state.search;
Expand Down

0 comments on commit 42f02ee

Please sign in to comment.