diff --git a/renderer/context/usePageContext.ts b/renderer/context/usePageContext.ts index 9f8c479..1ed32b4 100644 --- a/renderer/context/usePageContext.ts +++ b/renderer/context/usePageContext.ts @@ -7,7 +7,7 @@ import { PageContext, VikePageContext } from '#types/PageContext' import type { App, InjectionKey } from 'vue' -const key: InjectionKey = Symbol(undefined) +const key: InjectionKey = Symbol('pageContext') function usePageContext() { const pageContext = inject(key)