Skip to content

Commit

Permalink
fix sidebar in the header (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
donjo authored Jul 11, 2024
1 parent a012d9d commit 2588923
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export default function Header({
url,
hassidebar,
hasSidebar,
}: {
url: string;
hassidebar?: boolean;
hasSidebar?: boolean;
}) {
const reference = url.startsWith("/api");
return (
Expand All @@ -14,7 +14,7 @@ export default function Header({
>
<nav class="px-4 md:px-6 py-3 h-16 flex items-center justify-between">
<div class="flex items-center">
{hassidebar && (
{hasSidebar && (
<button class="mr-2 lg:hidden" id="sidebar-open">
<svg
width="30"
Expand Down

0 comments on commit 2588923

Please sign in to comment.