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 Delete Account
</Heading> </Heading>
<Text> <Text>
Are you sure you want to delete your account? This action cannot be Permanently delete your data and everything associated with your
undone. account.
</Text> </Text>
<Button <Button
bg="ui.danger" bg="ui.danger"

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

@ -74,7 +74,8 @@ const DeleteConfirmation: React.FC<DeleteProps> = ({ isOpen, onClose }) => {
<AlertDialogBody> <AlertDialogBody>
All your account data will be{' '} All your account data will be{' '}
<strong>permanently deleted.</strong> If you are sure, please <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> </AlertDialogBody>
<AlertDialogFooter gap={3}> <AlertDialogFooter gap={3}>

Loading…
Cancel
Save