Skip to content

Commit

Permalink
Clear input field once account deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
dylkaw committed Oct 16, 2024
1 parent d483f9d commit b0eca14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/components/common/delete-account-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const DeleteAccountModal: React.FC<DeleteAccountModalProps> = ({
variant="destructive"
onClick={() => {
setShowDeleteModal(false);
setConfirmUsername("");
handleDeleteAccount();
}}
disabled={!isDeleteButtonEnabled}
Expand Down

0 comments on commit b0eca14

Please sign in to comment.