diff --git a/_components/Sidebar.tsx b/_components/Sidebar.tsx index 51200195..453f4ac0 100644 --- a/_components/Sidebar.tsx +++ b/_components/Sidebar.tsx @@ -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}