Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 23:09:10 +00:00
co-authored by renee-png
parent 6f3094014e
commit 2dcec1755b
+2
View File
@@ -87,6 +87,8 @@ export function AppShell({ children }: { children: ReactNode }) {
</div>
</div>
<GlobalSearch />
<nav className="flex-1 px-3 py-4 space-y-0.5">
{NAV.filter((n) => !n.adminOnly || isAdmin).map((item) => {
const active = item.to === "/" ? location.pathname === "/" : location.pathname.startsWith(item.to);