From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +0800
Subject: [PATCH] 初始化

---
 app/signin/components/mail-and-password-auth.tsx |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/app/signin/components/mail-and-password-auth.tsx b/app/signin/components/mail-and-password-auth.tsx
index 7360fda..97f8bd1 100644
--- a/app/signin/components/mail-and-password-auth.tsx
+++ b/app/signin/components/mail-and-password-auth.tsx
@@ -9,7 +9,6 @@
 import { login } from '@/service/common'
 import Input from '@/app/components/base/input'
 import I18NContext from '@/context/i18n'
-import { noop } from 'lodash-es'
 
 type MailAndPasswordAuthProps = {
   isInvite: boolean
@@ -104,9 +103,9 @@
     }
   }
 
-  return <form onSubmit={noop}>
+  return <form onSubmit={() => { }}>
     <div className='mb-3'>
-      <label htmlFor="email" className="system-md-semibold my-2 text-text-secondary">
+      <label htmlFor="email" className="my-2 system-md-semibold text-text-secondary">
         {t('login.email')}
       </label>
       <div className="mt-1">
@@ -128,7 +127,7 @@
         <span className='system-md-semibold text-text-secondary'>{t('login.password')}</span>
         <Link
           href={`/reset-password?${searchParams.toString()}`}
-          className={`system-xs-regular ${isEmailSetup ? 'text-components-button-secondary-accent-text' : 'pointer-events-none text-components-button-secondary-accent-text-disabled'}`}
+          className={`system-xs-regular ${isEmailSetup ? 'text-components-button-secondary-accent-text' : 'text-components-button-secondary-accent-text-disabled pointer-events-none'}`}
           tabIndex={isEmailSetup ? 0 : -1}
           aria-disabled={!isEmailSetup}
         >

--
Gitblit v1.8.0