From a3e289c06c992b24dcff21b1c4f8871676101d98 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 14 Apr 2023 17:43:03 +0200 Subject: [PATCH] chore: remove type annotation for computed --- src/stores/projects.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/projects.ts b/src/stores/projects.ts index e921e9e4d..30a215b83 100644 --- a/src/stores/projects.ts +++ b/src/stores/projects.ts @@ -40,7 +40,7 @@ export const useProjectStore = defineStore('project', () => { .filter(p => !p.isArchived && p.isFavorite)) const hasProjects = computed(() => projectsArray.value.length > 0) - const getChildProjects = computed(() => { + const getChildProjects = computed(() => { return (id: IProject['id']) => projectsArray.value.filter(p => p.parentProjectId === id) })