diff --git a/bun.lockb b/bun.lockb index f1418ea..98a943b 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/explorer/ExplorerNavigation.vue b/components/explorer/ExplorerNavigation.vue index 795f8f9..92aacf6 100644 --- a/components/explorer/ExplorerNavigation.vue +++ b/components/explorer/ExplorerNavigation.vue @@ -2,7 +2,7 @@ const route = useRoute(); const project = computed(() => parseInt(route.params.projectId as string)); -const { data: navigation, refresh } = await useLazyFetch(() => `/api/project/${project.value}/navigation`, { immediate: false }); +const { data: navigation, refresh } = await useFetch(() => `/api/project/${project.value}/navigation`, { immediate: false }); if(!isNaN(project.value)) { await refresh(); diff --git a/components/explorer/PreviewContent.vue b/components/explorer/PreviewContent.vue index 350462d..cd386ac 100644 --- a/components/explorer/PreviewContent.vue +++ b/components/explorer/PreviewContent.vue @@ -6,7 +6,7 @@