瀏覽代碼

use type submit

ryoji-s 2 年之前
父節點
當前提交
af95b7bc12
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/app/src/components/LoginForm.tsx

+ 1 - 1
apps/app/src/components/LoginForm.tsx

@@ -518,7 +518,7 @@ export const LoginForm = (props: LoginFormProps): JSX.Element => {
           {/* Sign up button (submit) */}
           <div className="input-group justify-content-center my-4">
             <button
-              type="button"
+              type="submit"
               className="btn btn-fill rounded-0"
               id="register"
               disabled={(!isMailerSetup && isEmailAuthenticationEnabled) || isLoading}