updates
This commit is contained in:
@@ -36,7 +36,7 @@ const SidebarStaff: React.FC<SidebarStaffProps> = ({
|
||||
const handleLogout = async () => {
|
||||
try {
|
||||
await logout();
|
||||
navigate('/login');
|
||||
navigate('/');
|
||||
if (isMobile) {
|
||||
setIsMobileOpen(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user