From f59662740f6dcf45fcc110de66fb586514233e4e Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 3 Dec 2022 14:08:49 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20add=20-=20page=20mon=20compte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/NavBar.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/NavBar.tsx b/components/NavBar.tsx index 9364604..e56db88 100644 --- a/components/NavBar.tsx +++ b/components/NavBar.tsx @@ -9,9 +9,7 @@ import Image from 'next/image'; import { FiArrowRight } from 'react-icons/fi'; const NavBar = () => { - const navRef = useRef(); - const router = useRouter(); const { data: session, status } = useSession(); console.log('role', session) @@ -48,11 +46,8 @@ const NavBar = () => { {!session && <>Connexion} {session && <>Mon compte

|

} {session && <> logout()} className={style.link} >Se déconnecter} - - {session && Vous-êtes connecté {session.user.email}} -
☰