Skip to content

Commit

Permalink
Use onKeyUp
Browse files Browse the repository at this point in the history
  • Loading branch information
ButterscotchV committed Aug 28, 2024
1 parent 32b87aa commit a3f8851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bingus-frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function App() {
value={input}
variant="filled"
onChange={(e) => setInput(e.target.value)}
onKeyPress={(e) => {
onKeyUp={(e) => {
if (e.key === "Enter") search();
}}
/>
Expand Down

0 comments on commit a3f8851

Please sign in to comment.