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.
2 parents e4211ba + 35693a9 commit e8e0f51Copy full SHA for e8e0f51
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