diff --git a/ui/src/components/InstallPage.tsx b/ui/src/components/InstallPage.tsx index 5c88fca1d..fcc88c559 100644 --- a/ui/src/components/InstallPage.tsx +++ b/ui/src/components/InstallPage.tsx @@ -53,7 +53,13 @@ export const InstallPage: React.FC = ({onFirstLogin}) => { } - return
+ const handleFormOnKeyPress = (e: React.KeyboardEvent) => { + if (e.key === "Enter") { + onFormSubmit(); + } + }; + + return
{isLoading && }
Setup
Welcome to Mizu, please set up the admin user to continue diff --git a/ui/src/components/LoginPage.tsx b/ui/src/components/LoginPage.tsx index 8ebc51372..6f3a71d37 100644 --- a/ui/src/components/LoginPage.tsx +++ b/ui/src/components/LoginPage.tsx @@ -41,7 +41,6 @@ const LoginPage: React.FC = () => { } }; - return
{isLoading && }
Login