From 7e80de81f75089d670e73e9d28b46c9111628099 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 15 Sep 2022 14:25:27 +0200 Subject: [PATCH] chore: put computed in one line --- src/views/list/ListInfo.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/views/list/ListInfo.vue b/src/views/list/ListInfo.vue index bd6c9a16d..fb311a67e 100644 --- a/src/views/list/ListInfo.vue +++ b/src/views/list/ListInfo.vue @@ -29,9 +29,7 @@ const props = defineProps({ }) const store = useStore() -const list = computed(() => { - return store.getters['lists/getListById'](props.listId) -}) +const list = computed(() => store.getters['lists/getListById'](props.listId)) const htmlDescription = computed(() => { const description = list.value?.description || '' if (description === '') {