soumaeda 2 лет назад
Родитель
Сommit
26230eed2a
1 измененных файлов с 10 добавлено и 2 удалено
  1. 10 2
      apps/app/src/components/LoginForm.tsx

+ 10 - 2
apps/app/src/components/LoginForm.tsx

@@ -499,7 +499,10 @@ export const LoginForm = (props: LoginFormProps): JSX.Element => {
         <div className="row">
           <div className="text-right col-12 mt-2 py-2">
             <a
-              href="#login" id="login" className="link-switch" style={{ pointerEvents: isLoading ? 'none' : 'auto' }}
+              href="#login"
+              id="login"
+              className="link-switch"
+              style={{ pointerEvents: isLoading ? 'none' : 'auto' }}
               onClick={switchForm}>
               <i className="icon-fw icon-login"></i>
               {t('Sign in is here')}
@@ -536,7 +539,12 @@ export const LoginForm = (props: LoginFormProps): JSX.Element => {
                 {/* Sign up link */}
                 {isRegistrationEnabled && (
                   <div className="text-right mb-2">
-                    <a href="#register" id="register" className="link-switch" style={{ pointerEvents: isLoading ? 'none' : 'auto' }} onClick={switchForm}>
+                    <a
+                      href="#register"
+                      id="register"
+                      className="link-switch"
+                      style={{ pointerEvents: isLoading ? 'none' : 'auto' }}
+                      onClick={switchForm}>
                       <i className="ti ti-check-box"></i> {t('Sign up is here')}
                     </a>
                   </div>