diff --git a/src/components/ExampleJson.vue b/src/components/ExampleJson.vue
index b11b901..0586756 100644
--- a/src/components/ExampleJson.vue
+++ b/src/components/ExampleJson.vue
@@ -30,12 +30,17 @@ const example = `
>
diff --git a/src/composables/useCollection.js b/src/composables/useCollection.js
index b2feb16..a354d1c 100644
--- a/src/composables/useCollection.js
+++ b/src/composables/useCollection.js
@@ -19,10 +19,6 @@ const collection = ref({
const collections = ref([]);
const useCollection = () => {
- const descriptionCollection = computed(() => {
- return collection.value?.description.replace(/(?:\r\n|\r|\n)/g, "
");
- });
-
/** @param {Collection} collection */
const addCollection = (collection) => {
collections.value.push(collection);
@@ -70,7 +66,6 @@ const useCollection = () => {
return {
collections,
collection,
- descriptionCollection,
addCollection,
getCollections,
getDetailCollection,
diff --git a/src/pages/collection/id.vue b/src/pages/collection/id.vue
index 8f13ec9..bb44ad2 100644
--- a/src/pages/collection/id.vue
+++ b/src/pages/collection/id.vue
@@ -12,8 +12,7 @@ import exportCollection from "@/utils/export-collection";
const route = useRoute();
const router = useRouter();
-const { deleteColllection, collection, descriptionCollection } =
- useCollection();
+const { deleteColllection, collection } = useCollection();
const { addTodo, markTodo, editTodo, deleteTodo, doneTodos, todos } = useTodo();
const { formTodo, isEditing, resetForm: resetFormTodo } = useFormTodo();
const vFormTodo = useForm({
@@ -131,9 +130,10 @@ onMounted(async () => {
+ class="text-lg pb-3 whitespace-pre-line"
+ >
+ {{ collection.description }}
+
no description