This commit is contained in:
Louis Mazin 2026-09-21 13:45:06 +02:00
parent 8cf9fd5622
commit a6a343ba25

View File

@ -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('');