chore: upgrade to VueUse v10
This commit is contained in:
parent
076c47b7b0
commit
61526df93f
8 changed files with 106 additions and 61 deletions
|
@ -52,9 +52,9 @@ export function useHydratedHead<T extends SchemaAugmentations>(input: UseHeadInp
|
|||
(input as any).title = () => isHydrated.value ? typeof title === 'function' ? title() : title : ''
|
||||
}
|
||||
}
|
||||
return useHead(() => {
|
||||
return useHead((() => {
|
||||
if (!isHydrated.value)
|
||||
return {}
|
||||
return resolveUnref(input)
|
||||
}, options)
|
||||
}) as UseHeadInput<T>, options)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue