From f8275e535d4ad21434aa0e03fdf92b80a007c6f5 Mon Sep 17 00:00:00 2001 From: pelotazos Date: Mon, 10 Apr 2023 23:28:19 +0200 Subject: [PATCH] const removed --- webapp/src/components/NavBar.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webapp/src/components/NavBar.tsx b/webapp/src/components/NavBar.tsx index 4132008..e62526d 100644 --- a/webapp/src/components/NavBar.tsx +++ b/webapp/src/components/NavBar.tsx @@ -7,7 +7,6 @@ import { useSession, LogoutButton } from '@inrupt/solid-ui-react'; export const NavBar = () => { const { session } = useSession(); const [open, setOpen] = useState(false); - const IS_LOGGED_IN = session.info.isLoggedIn const handleClickOpen = () => { setOpen(true); @@ -27,7 +26,7 @@ export const NavBar = () => { > logo Mapa - {IS_LOGGED_IN ? + { session.info.isLoggedIn ? <> Mis ubicaciones Mis amigos