Browse Source
💬 Improve Delete Account description and confirmation (#661)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
pull/13907/head
Alejandra
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
4 additions and
3 deletions
-
frontend/src/components/UserSettings/DeleteAccount.tsx
-
frontend/src/components/UserSettings/DeleteConfirmation.tsx
|
|
@ -19,8 +19,8 @@ const DeleteAccount: React.FC = () => { |
|
|
|
Delete Account |
|
|
|
</Heading> |
|
|
|
<Text> |
|
|
|
Are you sure you want to delete your account? This action cannot be |
|
|
|
undone. |
|
|
|
Permanently delete your data and everything associated with your |
|
|
|
account. |
|
|
|
</Text> |
|
|
|
<Button |
|
|
|
bg="ui.danger" |
|
|
|
|
|
@ -74,7 +74,8 @@ const DeleteConfirmation: React.FC<DeleteProps> = ({ isOpen, onClose }) => { |
|
|
|
<AlertDialogBody> |
|
|
|
All your account data will be{' '} |
|
|
|
<strong>permanently deleted.</strong> If you are sure, please |
|
|
|
click <strong>'Confirm'</strong> to proceed. |
|
|
|
click <strong>"Confirm"</strong> to proceed. This action cannot be |
|
|
|
undone. |
|
|
|
</AlertDialogBody> |
|
|
|
|
|
|
|
<AlertDialogFooter gap={3}> |
|
|
|