diff --git a/ui/src/components/LoginPage.tsx b/ui/src/components/LoginPage.tsx index 964aac1b5..3196f7641 100644 --- a/ui/src/components/LoginPage.tsx +++ b/ui/src/components/LoginPage.tsx @@ -33,11 +33,16 @@ const LoginPage: React.FC = () => { } finally { setIsLoading(false); } - } + const handleFormOnKeyPress = (e: React.KeyboardEvent) => { + if (e.key === "Enter") { + onFormSubmit(); + } + }; - return
+ + return
{isLoading && }
Login