diff --git a/src/client/app/composables/siteData.ts b/src/client/app/composables/siteData.ts index f27f6c831929..41a43d5e81a9 100644 --- a/src/client/app/composables/siteData.ts +++ b/src/client/app/composables/siteData.ts @@ -4,6 +4,8 @@ import { SiteData } from '../../../../types/shared' const parse = (data: string) => readonly(JSON.parse(data)) as SiteData +export type SiteDataRef = Ref> + export const siteDataRef: Ref = ref(parse(serialized)) export function useSiteData() { diff --git a/src/client/theme-default/Layout.vue b/src/client/theme-default/Layout.vue index 8875d9d4a92f..366a90556440 100644 --- a/src/client/theme-default/Layout.vue +++ b/src/client/theme-default/Layout.vue @@ -1,6 +1,6 @@