Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
const removed
Browse files Browse the repository at this point in the history
  • Loading branch information
pelotazos123 committed Apr 10, 2023
1 parent 9ff978e commit f8275e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webapp/src/components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -27,7 +26,7 @@ export const NavBar = () => {
>
<Link to="/"><img src="/logo-no-background.png" className="App-logo" alt="logo" height="60" /></Link>
<Link to="/map">Mapa</Link>
{IS_LOGGED_IN ?
{ session.info.isLoggedIn ?
<>
<Link to="/ubications">Mis ubicaciones</Link>
<Link to="/friends">Mis amigos</Link>
Expand Down

0 comments on commit f8275e5

Please sign in to comment.