fix: resolve admin settings route conflict and remove logout button from sidebar (TASK-7A, TASK-7B)
All checks were successful
Deploy Canina / deploy (push) Successful in 48s

This commit is contained in:
parsa aghaei 2026-08-15 18:09:11 +03:30
parent c9a525bead
commit e85931508a

View File

@ -146,16 +146,7 @@ export default function Sidebar({ isOpen, setIsOpen }: SidebarProps) {
</div>
))}
</nav>
<div className="p-4 border-t border-gray-200">
<button onClick={handleLogout} className="flex items-center gap-3 px-3 py-3 w-full text-red-500 hover:bg-red-50 rounded-xl transition-all font-bold">
<LogOut className="w-5 h-5" />
<span>خروج از حساب</span>
</button>
</div>
</aside>
</>
);
}