Web: People: dialogs/DeleteProfileEverDialog: removed anonymous function creation
This commit is contained in:
parent
99433c8539
commit
3414ebc986
@ -36,9 +36,7 @@ class DeleteProfileEverDialogComponent extends React.Component {
|
||||
return fetchPeople(filter);
|
||||
})
|
||||
.catch((error) => toastr.error(error))
|
||||
.finally(() => {
|
||||
onClose();
|
||||
});
|
||||
.finally(onClose);
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user