Skip to content

Commit

Permalink
Apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikmonsen committed Dec 2, 2024
1 parent 89bc0cc commit 8577c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ui/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ export default function Header() {
<NavbarContent justify="end">
<NavbarItem className="flex items-center gap-1">
<ThemeToggleButton />
{ authenticated ? (
{ authenticated && (
<>
<UserDetails />
<LogoutButton className="pl-2.5"/>
</>
) : <></>}
)}
</NavbarItem>
</NavbarContent>
</Navbar>
Expand Down

0 comments on commit 8577c7f

Please sign in to comment.