[TEST DONE] Checking Sertification generation for mentor/admin and view on intern
This commit is contained in:
@@ -65,7 +65,7 @@ export default function SidebarIntern({ isOpen, closeSidebar }: SidebarProps) {
|
||||
{/* Main nav */}
|
||||
<nav className="flex flex-col gap-0.5">
|
||||
{navItems.map(({ label, icon: Icon, path }) => {
|
||||
const isActive = location.pathname === path || location.pathname.startsWith(path + "/");
|
||||
const isActive = location.pathname === path || location.pathname.startsWith(path + "/intern");
|
||||
return (
|
||||
<button
|
||||
key={path}
|
||||
|
||||
Reference in New Issue
Block a user