chore: remove type annotation for computed

This commit is contained in:
kolaente 2023-04-14 17:43:03 +02:00
parent 31b7c1f217
commit a3e289c06c
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -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<IProject[]>(() => {
const getChildProjects = computed(() => {
return (id: IProject['id']) => projectsArray.value.filter(p => p.parentProjectId === id)
})