Skip to content

Commit

Permalink
fix styles for active deploy and subhosting
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisjofrank committed Dec 12, 2024
1 parent 3100786 commit a912608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function SidebarTopNav(
isCurrentlyActivePath ? "font-semibold" : "font-normal"
}`}
href={props.url}
aria-current={props.currentPath === props.url ? "page" : undefined}
aria-current={isCurrentlyActivePath ? "page" : undefined}
>
{props.name}
</a>
Expand Down

0 comments on commit a912608

Please sign in to comment.