From afdf9100fa95208cbe7ba7a00a3b43847204dc51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aron=20Sch=C3=BCler?= Date: Tue, 21 May 2024 23:06:33 +0200 Subject: [PATCH] feat: add autocomplete attributes --- src/components/authentication/LoginForm.tsx | 4 +++- src/components/authentication/RegisterForm.tsx | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/authentication/LoginForm.tsx b/src/components/authentication/LoginForm.tsx index 8a66294..db09aef 100644 --- a/src/components/authentication/LoginForm.tsx +++ b/src/components/authentication/LoginForm.tsx @@ -2,9 +2,9 @@ import clsx from "clsx"; import { signInWithEmailAndPassword } from "firebase/auth"; import { useContext } from "react"; import { useForm } from "react-hook-form"; +import { useNavigate } from "react-router"; import { auth } from "../../firebase"; import { UserContext } from "../../provider/UserContext"; -import { useNavigate } from "react-router"; export const LoginForm = () => { const { setUser } = useContext(UserContext); @@ -49,6 +49,7 @@ export const LoginForm = () => { Email { Password { const { setUser } = useContext(UserContext); @@ -48,6 +48,7 @@ export const RegisterForm = () => { Email { Password