test
This commit is contained in:
parent
c879ed72bb
commit
e839327fe1
@ -107,7 +107,12 @@ const AdminUsersPage = () => {
|
||||
await userApi.deleteUser(userId);
|
||||
|
||||
if (String(userId) === String(getUserId(currentUser))) {
|
||||
console.log('SUPPRESSION DE MOI');
|
||||
console.log('currentUser:', currentUser);
|
||||
|
||||
logout();
|
||||
|
||||
console.log('LOGOUT APPELÉ');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user