Build [v.1.3.6]
This commit is contained in:
@@ -157,8 +157,8 @@ export default function AdminPage() {
|
||||
};
|
||||
|
||||
const handleLogout = () => {
|
||||
localStorage.removeItem('inventory_user');
|
||||
window.location.href = '/';
|
||||
import('@/lib/auth').then(m => m.clearAuth());
|
||||
window.location.href = '/login';
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user