We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7234a86 commit 35693a9Copy full SHA for 35693a9
packages/client/src/setupUpdateHead.ts
@@ -81,7 +81,7 @@ export const setupUpdateHead = (): void => {
81
82
// ssr-only, extract page meta info to ssrContext
83
if (__VUEPRESS_SSR__) {
84
- const ssrContext: VuepressSSRContext | undefined = useSSRContext()
+ const ssrContext = useSSRContext<VuepressSSRContext>()
85
if (ssrContext) {
86
ssrContext.head = head.value
87
ssrContext.lang = lang.value
0 commit comments