Skip to content

Commit

Permalink
move callback out of the asyncForEach
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Sep 14, 2021
1 parent f9d171b commit 6d08466
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class ConfirmDeleteUsers extends Component<Props, unknown> {
)
);
}

}).then(() => {
if (callback) {
callback(usersToDelete, errors);
}
Expand Down

0 comments on commit 6d08466

Please sign in to comment.