Skip to content

Commit e8e0f51

Browse files
authored
Merge branch 'main' into meteorlxy-markdown-to-vue
2 parents e4211ba + 35693a9 commit e8e0f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/src/setupUpdateHead.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const setupUpdateHead = (): void => {
8181

8282
// ssr-only, extract page meta info to ssrContext
8383
if (__VUEPRESS_SSR__) {
84-
const ssrContext: VuepressSSRContext | undefined = useSSRContext()
84+
const ssrContext = useSSRContext<VuepressSSRContext>()
8585
if (ssrContext) {
8686
ssrContext.head = head.value
8787
ssrContext.lang = lang.value

0 commit comments

Comments
 (0)