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