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
All checks were successful
Deploy Canina / deploy (push) Successful in 48s
This commit is contained in:
parent
c9a525bead
commit
e85931508a
@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user