💬 Improve Delete Account description and confirmation (#661)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
@@ -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"
|
||||||
|
@@ -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}>
|
||||||
|
Reference in New Issue
Block a user