We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f17df commit d483f9dCopy full SHA for d483f9d
frontend/components/common/delete-account-modal.tsx
@@ -67,7 +67,10 @@ const DeleteAccountModal: React.FC<DeleteAccountModalProps> = ({
67
</Button>
68
<Button
69
variant="destructive"
70
- onClick={handleDeleteAccount}
+ onClick={() => {
71
+ setShowDeleteModal(false);
72
+ handleDeleteAccount();
73
+ }}
74
disabled={!isDeleteButtonEnabled}
75
>
76
Delete Account
0 commit comments