Skip to content

Commit

Permalink
perf: re-order the execution within a delete group event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-y-ito committed Mar 31, 2024
1 parent 6965591 commit cd8a4ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ export const DeleteGroupDialogContent = ({
} else {
alert('Successfully deleted');
onDialogClose();
navigateOnSuccess?.();
onParentClose?.();
setIsLoading(false);
navigateOnSuccess?.();
router.refresh();
}
};
Expand Down

0 comments on commit cd8a4ed

Please sign in to comment.