fix(admin): update sidebar and breadcrumb links to point to /admin/dashboard

This commit is contained in:
2026-04-22 15:57:09 -04:00
parent 4b0de4c724
commit 5ab789667c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ const AdminTop = ({ isMobileMenuOpen, setIsMobileMenuOpen, user, onLogout, appNa
const themeLabel = theme === 'light' ? 'Mode clair' : theme === 'dark' ? 'Mode sombre' : 'Thème système';
const buildBreadcrumbs = () => {
const crumbs = [{ label: appName, href: '/admin/' }];
const crumbs = [{ label: appName, href: '/admin/dashboard' }];
const after = pathname.replace(/^\/admin\/?/, '');
if (!after) return crumbs;