Web: People: dialogs/DeleteProfileEverDialog: removed anonymous function creation

This commit is contained in:
Artem Tarasov 2021-02-15 15:26:56 +03:00
parent 99433c8539
commit 3414ebc986

View File

@ -36,9 +36,7 @@ class DeleteProfileEverDialogComponent extends React.Component {
return fetchPeople(filter);
})
.catch((error) => toastr.error(error))
.finally(() => {
onClose();
});
.finally(onClose);
});
};