diff --git a/frontend/src/pages/AdminUsersPage.jsx b/frontend/src/pages/AdminUsersPage.jsx index 829f029..247e236 100644 --- a/frontend/src/pages/AdminUsersPage.jsx +++ b/frontend/src/pages/AdminUsersPage.jsx @@ -20,7 +20,7 @@ import { Label } from '@/components/ui/label'; import { useAuth } from '../context/useAuth'; const AdminUsersPage = () => { - const { currentUser, logout } = useAuth(); + const { user: currentUser, logout } = useAuth(); const [users, setUsers] = useState([]); const [loading, setLoading] = useState(true); const [error, setError] = useState('');