diff --git a/src/components/auth/LoginForm.tsx b/src/components/auth/LoginForm.tsx index 21218fe..1b04e40 100644 --- a/src/components/auth/LoginForm.tsx +++ b/src/components/auth/LoginForm.tsx @@ -4,6 +4,7 @@ import { useState } from "react"; import { useRouter } from "next/navigation"; import { authService } from "@/lib/services/auth.service"; import { AuthError } from "@/types/auth"; +import { ErrorMessage } from "@/components/ui/ErrorMessage"; interface LoginFormProps { from?: string; @@ -86,11 +87,7 @@ export function LoginForm({ from }: LoginFormProps) { Se souvenir de moi - {error && ( -
- {error.message} -
- )} + {error && }