Skip to content

Commit c60eb7f

Browse files
authored
docs: remove typescript syntax from javascript example (#3412)
1 parent e53bf74 commit c60eb7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/docs/02.guide/06.seo.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ useHead({
243243
const i18nHead = useLocaleHead({ seo: { canonicalQueries: ['foo'] } })
244244
useHead(() => ({
245245
htmlAttrs: {
246-
lang: i18nHead.value.htmlAttrs!.lang
246+
lang: i18nHead.value.htmlAttrs.lang
247247
},
248248
link: [...(i18nHead.value.link || [])],
249249
meta: [...(i18nHead.value.meta || [])]

0 commit comments

Comments
 (0)