mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-09 20:35:28 +02:00
adjust border
This commit is contained in:
parent
1a750e8279
commit
419e576a3e
31 changed files with 118 additions and 112 deletions
|
@ -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}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue