updates
This commit is contained in:
@@ -34,7 +34,7 @@ const DashboardPage: React.FC = () => {
|
||||
const handleLogout = async () => {
|
||||
try {
|
||||
await logout();
|
||||
navigate('/login');
|
||||
navigate('/');
|
||||
} catch (error) {
|
||||
console.error('Logout error:', error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user