diff --git a/src/App.tsx b/src/App.tsx index 550b5eb..288cf57 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -57,6 +57,7 @@ export const App : React.FC = () => { setInput(e.target.value);} } onKeyDown={async (e) =>{ if (e.key === "Enter") { + e.preventDefault(); await formSubmit(); } }} value={input} />