Able to refuse members
This commit is contained in:
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 (
|
||||
|
||||
Reference in new issue
Block a user