fix: resolve admin settings route conflict and remove logout button from sidebar (TASK-7A, TASK-7B)
Deploy Canina / deploy (push) Successful in 48s
Deploy Canina / deploy (push) Successful in 48s
This commit is contained in:
1 parent
c9a525bead
commit
e85931508a
1 file changed
-9
@@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user