From ca3ee378db11cf9e98919f739f5113253b31d386 Mon Sep 17 00:00:00 2001 From: Pablo Lara Date: Tue, 4 Feb 2025 13:20:24 +0100 Subject: [PATCH] style(forms): improve spacing consistency (#6814) --- ui/components/auth/oss/auth-form.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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" && } -