Fix correct param name
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user