Skip to content

Commit

Permalink
Better conditional logic
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-collinsworth committed Mar 3, 2024
1 parent ad55890 commit 2be44d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export function Header({ user, url }: {
}`}
>
<div class="flex justify-between items-center text-base md:text-lg flex-wrap gap-4 lg:gap-8 h-full">
{isHomepage ? <div></div> : <HeaderLogo class="h-8 flex-none" />}
<div>
{!isHomepage && <HeaderLogo class="h-8 flex-none" />}
</div>
<div class="hidden sm:block grow-1 flex-1">
{!isHomepage && (
<PackageSearch
Expand Down

0 comments on commit 2be44d8

Please sign in to comment.