diff --git a/src/admin/plugin.ts b/src/admin/plugin.ts index 7c33d2511..1a4e122ed 100644 --- a/src/admin/plugin.ts +++ b/src/admin/plugin.ts @@ -40,7 +40,7 @@ export default async function ({ $docus, ssrContext }: any) { new Vue(instanceData).$mount(el) } - // Re-fetch categories + // Re-fetch navigation if (process.server) { await $docus.fetchNavigation() } diff --git a/src/core/runtime/docus.ts b/src/core/runtime/docus.ts index 3a968bdf6..4a9f9d86e 100644 --- a/src/core/runtime/docus.ts +++ b/src/core/runtime/docus.ts @@ -18,7 +18,6 @@ export const createDocus = async (context: PermissiveContext, settings: DocusSet // State const state = reactive({ page: {}, - categories: {}, settings: null, theme: null }) as DocusState diff --git a/src/types/core.ts b/src/types/core.ts index d7898ec83..08c1222e8 100644 --- a/src/types/core.ts +++ b/src/types/core.ts @@ -49,7 +49,6 @@ export type DocusState = { // Core settings: any page: any - categories: any navigation: DocusNavigation theme: any // Addons