mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-01 08:16:44 +00:00
adjust border
This commit is contained in:
@@ -42,7 +42,7 @@ export function SidebarNav({
|
||||
function renderItems(items: SidebarNavItem[]) {
|
||||
return items.map((item) => {
|
||||
const hydratedHref = hydrateHref(item.href);
|
||||
const isActive = pathname.startsWith(hydratedHref) && !pathname.includes("create");
|
||||
const isActive = pathname.startsWith(hydratedHref);
|
||||
|
||||
return (
|
||||
<div key={hydratedHref}>
|
||||
|
||||
Reference in New Issue
Block a user