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
parent
commit
9989016c56
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      frontend/src/components/UserSettings/DeleteAccount.tsx
  2. 3
      frontend/src/components/UserSettings/DeleteConfirmation.tsx

4
frontend/src/components/UserSettings/DeleteAccount.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"

3
frontend/src/components/UserSettings/DeleteConfirmation.tsx

@ -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}>

Loading…
Cancel
Save