Skip to content

Commit

Permalink
chore: Simplify collection deletion confirmation copy (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 authored Oct 21, 2024
1 parent 4669070 commit 2967646
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/Collections/DeleteDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function DeleteDialog({ open, setOpen, collectionName, getCollect
<DialogTitle id="Delete-collection-confirmation">
Do you want to{' '}
<Box component="span" display={'inline'} sx={{ color: 'error.main' }}>
Delete {collectionName}
delete {collectionName}
</Box>
?
</DialogTitle>
Expand All @@ -50,9 +50,7 @@ export default function DeleteDialog({ open, setOpen, collectionName, getCollect
<Box display={'inline'} component="span" sx={{ color: 'error.main' }}>
Warning:
</Box>{' '}
Deleting this database can result in irreversible data loss. Please proceed with caution and ensure that you
have a backup of all the necessary data before proceeding. It is recommended to seek professional guidance
to avoid any accidental loss of critical data.
Deleting a collection cannot be undone. Make sure you have backed up all important data before proceeding.
</DialogContentText>
</DialogContent>
<DialogActions>
Expand Down

0 comments on commit 2967646

Please sign in to comment.