Skip to content

Commit b0eca14

Browse files
committed
Clear input field once account deleted
1 parent d483f9d commit b0eca14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/components/common/delete-account-modal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ const DeleteAccountModal: React.FC<DeleteAccountModalProps> = ({
6969
variant="destructive"
7070
onClick={() => {
7171
setShowDeleteModal(false);
72+
setConfirmUsername("");
7273
handleDeleteAccount();
7374
}}
7475
disabled={!isDeleteButtonEnabled}

0 commit comments

Comments
 (0)