diff --git a/apps/app/components/account/email-code-form.tsx b/apps/app/components/account/email-code-form.tsx index 389153d60..48288f77e 100644 --- a/apps/app/components/account/email-code-form.tsx +++ b/apps/app/components/account/email-code-form.tsx @@ -92,13 +92,13 @@ export const EmailCodeForm = ({ onSuccess }: any) => { <>
+
{codeResent ? "Please check your mail for new code." : "Please check your mail for code."} @@ -141,7 +141,9 @@ export const EmailCodeForm = ({ onSuccess }: any) => { { setIsCodeResending(true); @@ -174,7 +176,8 @@ export const EmailCodeForm = ({ onSuccess }: any) => { className="w-full text-center" size="md" onClick={handleSubmit(handleSignin)} - loading={isSubmitting || (!isValid && isDirty)} + disabled={!isValid && isDirty} + loading={isSubmitting} > {isSubmitting ? "Signing in..." : "Sign in"} diff --git a/apps/app/components/account/email-password-form.tsx b/apps/app/components/account/email-password-form.tsx index d35abdfe8..3527ae440 100644 --- a/apps/app/components/account/email-password-form.tsx +++ b/apps/app/components/account/email-password-form.tsx @@ -94,7 +94,9 @@ export const EmailPasswordForm = ({ onSuccess }: any) => { - Forgot your password? + + Forgot your password? + @@ -102,7 +104,8 @@ export const EmailPasswordForm = ({ onSuccess }: any) => { {isSubmitting ? "Signing in..." : "Sign In"} diff --git a/apps/app/components/account/github-login-button.tsx b/apps/app/components/account/github-login-button.tsx index 5b49208bb..16b9743d5 100644 --- a/apps/app/components/account/github-login-button.tsx +++ b/apps/app/components/account/github-login-button.tsx @@ -33,11 +33,11 @@ export const GithubLoginButton: FC = (props) => { }, []); return ( - + - + Sign In with Github diff --git a/apps/app/components/ui/input/index.tsx b/apps/app/components/ui/input/index.tsx index b2c93193a..b6e09f876 100644 --- a/apps/app/components/ui/input/index.tsx +++ b/apps/app/components/ui/input/index.tsx @@ -42,7 +42,7 @@ export const Input: React.FC = ({ : mode === "trueTransparent" ? "rounded border-none bg-transparent ring-0" : "" - } ${error ? "border-red-500/20" : ""} ${error && mode === "primary" ? "bg-red-500/20" : ""} ${ + } ${error ? "border-red-500" : ""} ${error && mode === "primary" ? "bg-red-500/20" : ""} ${ fullWidth ? "w-full" : "" } ${size === "rg" ? "px-3 py-2" : size === "lg" ? "p-3" : ""} ${className}`} {...rest} diff --git a/apps/app/layouts/default-layout/index.tsx b/apps/app/layouts/default-layout/index.tsx index 4134f6352..b615ab548 100644 --- a/apps/app/layouts/default-layout/index.tsx +++ b/apps/app/layouts/default-layout/index.tsx @@ -21,7 +21,7 @@ type Props = { const DefaultLayout: React.FC = ({ meta, children }) => ( - + <>{children}> diff --git a/apps/app/pages/signin.tsx b/apps/app/pages/signin.tsx index 3b423b370..a42188fce 100644 --- a/apps/app/pages/signin.tsx +++ b/apps/app/pages/signin.tsx @@ -98,12 +98,12 @@ const SignInPage: NextPage = () => { }} > {isLoading && ( - + Signing in. Please wait... )} - + @@ -113,12 +113,12 @@ const SignInPage: NextPage = () => { - + {parseInt(process.env.NEXT_PUBLIC_ENABLE_OAUTH || "0") ? ( <> - +