fix: Show loading indicator when delete account API is in progress (#19361)

This commit is contained in:
Anwar Sadath authored and GitHub committed 2025-02-19 10:20:20 +00:00
1 parent 6d4b05cf1d
commit bf9e9b4ae1
1 file changed
+2 -1
@@ -362,7 +362,8 @@ const ProfileView = () => {
<Button
color="primary"
data-testid="delete-account-confirm"
onClick={(e) => onConfirmButton(e)}>
onClick={(e) => onConfirmButton(e)}
loading={deleteMeMutation.isPending}>
{t("delete_my_account")}
</Button>
</DialogFooter>