Build [v.1.3.6]

This commit is contained in:
Daniel Bedeleanu
2026-04-11 17:14:22 +03:00
parent 775808506f
commit 704934165f
27 changed files with 738 additions and 685 deletions

View File

@@ -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 (