1👍
✅
You probably should provide default: []
to your useQuery
and use apps
ref as is if you want it to retain reactivity
The problem is you are missing "or []" somewhere – either in useQuery(..., [])
, computed(() => apps.value ?? [])
or apps.value ?? []
Source:stackexchange.com