瀏覽代碼

125024 fix onclick

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

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

@@ -500,7 +500,7 @@ export const LoginForm = (props: LoginFormProps): JSX.Element => {
           <div className="text-right col-12 mt-2 py-2">
             <a
               href="#login" id="login" className="link-switch" style={{ pointerEvents: isLoading ? 'none' : 'auto' }}
-              onClick={isLoading ? undefined : switchForm}>
+              onClick={switchForm}>
               <i className="icon-fw icon-login"></i>
               {t('Sign in is here')}
             </a>