test: prove TechLog UI migration parity
This commit is contained in:
@@ -13,7 +13,9 @@ const navigation = [
|
||||
|
||||
export function SiteHeader({ currentPath }: { currentPath?: string }) {
|
||||
const location = useLocation();
|
||||
const activePath = currentPath ?? location.pathname;
|
||||
const activePath =
|
||||
currentPath ??
|
||||
(location.pathname.startsWith("/topics/") ? "/explore" : location.pathname);
|
||||
const menuRef = useRef<HTMLDetailsElement>(null);
|
||||
const summaryRef = useRef<HTMLElement>(null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user