feat: add collection name to remove dialog

This commit is contained in:
André Glüpker 2023-10-17 15:37:51 +02:00
parent b31d7044a0
commit 5f94fa1174

View File

@ -18,7 +18,7 @@ const RemoveCollection = ({ onClose, collection }) => {
return ( return (
<Modal size="sm" title="Remove Collection" confirmText="Remove" handleConfirm={onConfirm} handleCancel={onClose}> <Modal size="sm" title="Remove Collection" confirmText="Remove" handleConfirm={onConfirm} handleCancel={onClose}>
Are you sure you want to remove this collection? Are you sure you want to delete collection <span className="font-semibold">{collection.name}</span> ?
</Modal> </Modal>
); );
}; };