diff --git a/frontend/app/components/InternshipEditor.vue b/frontend/app/components/InternshipEditor.vue index 1bb4d03..fd13162 100644 --- a/frontend/app/components/InternshipEditor.vue +++ b/frontend/app/components/InternshipEditor.vue @@ -91,7 +91,7 @@ function yearOfStudyValueHandler(item: { title: string, subtitle: string }) { return parseInt(item.title) || 0; } -const { data, error } = await useSanctumFetch('/api/companies/simple'); +const { data, pending, error } = await useLazySanctumFetch('/api/companies/simple');