diff options
Diffstat (limited to 'components/login/login-form-shi.tsx')
| -rw-r--r-- | components/login/login-form-shi.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/login/login-form-shi.tsx b/components/login/login-form-shi.tsx index ef39d122..d22e15a8 100644 --- a/components/login/login-form-shi.tsx +++ b/components/login/login-form-shi.tsx @@ -203,10 +203,10 @@ export function LoginFormSHI({ <div className="mx-auto w-full flex flex-col space-y-6 sm:w-[350px]"> {/* Here's your existing login/OTP forms: */} - {/* {!otpSent ? - ( */} - {/* <form onSubmit={handleSubmit} className="p-6 md:p-8"> */} - <form onSubmit={handleOtpSubmit} className="p-6 md:p-8"> + {!otpSent ? ( + // ( */} + <form onSubmit={handleSubmit} className="p-6 md:p-8"> + {/* <form onSubmit={handleOtpSubmit} className="p-6 md:p-8"> */} <div className="flex flex-col gap-6"> <div className="flex flex-col items-center text-center"> <h1 className="text-2xl font-bold">{t('loginMessage')}</h1> @@ -251,7 +251,7 @@ export function LoginFormSHI({ </div> </div> </form> - {/* ) + ) : ( @@ -305,7 +305,7 @@ export function LoginFormSHI({ </div> </div> </form> - )} */} + )} <div className="text-balance text-center text-xs text-muted-foreground [&_a]:underline [&_a]:underline-offset-4 hover:[&_a]:text-primary"> {t('termsMessage')} <a href="#">{t('termsOfService')}</a> {t('and')} |
