Fix correct param name

This commit is contained in:
Alicia Sykes
2024-05-08 21:37:44 +01:00
parent 7e27143a90
commit 70724be65a
2 changed files with 1 additions and 2 deletions

View File

@@ -184,7 +184,6 @@ const Home = (): JSX.Element => {
};
const handleKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => {
console.log(event.key);
if (event.key === 'Enter') {
event.preventDefault();
submit();