Able to refuse members

This commit is contained in:
T'JAMPENS QUENTIN p2406187 committed 2026-02-03 14:27:54 +01:00
1 parent bda8331ed1
commit 6202f6dc77
1 file changed
+4 -3
@@ -29,12 +29,13 @@ function PendingMembers() {
const handleValidate = async (id) => {
const result = await validateUser(id);
console.log(result);
fetchUsers();
}
const handleRefuse = (id) => {
const handleRefuse = async (id) => {
const result = await deleteOtherUser(id);
console.log(result);
fetchUsers();
}
return (