diff --git a/website/src/components/Navigation/Navigation.astro b/website/src/components/Navigation/Navigation.astro index 7c2b92992..825d7d97b 100644 --- a/website/src/components/Navigation/Navigation.astro +++ b/website/src/components/Navigation/Navigation.astro @@ -6,7 +6,7 @@ import { navigationItems } from '../../routes'; const { organism, knownOrganisms } = cleanOrganism(Astro.params.organism); -const isLoggedIn = Astro.locals.session && Astro.locals.session.isLoggedIn; +const isLoggedIn = Astro.locals.session.isLoggedIn; const loginUrl = await getAuthUrl(Astro.url.toString()); ---