diff --git a/ui/components/auth/oss/auth-form.tsx b/ui/components/auth/oss/auth-form.tsx index 9a3d1985b9..967bbdd352 100644 --- a/ui/components/auth/oss/auth-form.tsx +++ b/ui/components/auth/oss/auth-form.tsx @@ -1,7 +1,7 @@ "use client"; import { zodResolver } from "@hookform/resolvers/zod"; -import { Checkbox, Link, Spacer } from "@nextui-org/react"; +import { Checkbox, Link } from "@nextui-org/react"; import { useRouter } from "next/navigation"; import { useForm } from "react-hook-form"; import { z } from "zod"; @@ -148,7 +148,7 @@ export const AuthForm = ({
{type === "sign-up" && ( @@ -258,14 +258,12 @@ export const AuthForm = ({ )} {type === "sign-in" && form.formState.errors?.email && ( -
+

Invalid email or password

)} - {type === "sign-in" && } -