Skip to content

Commit

Permalink
fix: Show loading indicator when delete account API is in progress (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
asadath1395 authored Feb 19, 2025
1 parent 6d4b05c commit bf9e9b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/modules/settings/my-account/profile-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit bf9e9b4

Please sign in to comment.