From a9126087fc1e9cfc19da7c8ec2a5332e60c80372 Mon Sep 17 00:00:00 2001 From: Jo Franchetti Date: Thu, 12 Dec 2024 14:47:29 +0000 Subject: [PATCH] fix styles for active deploy and subhosting --- _components/Sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}