mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
chore: fix typo in code comment
This commit is contained in:
parent
d282fcd5a3
commit
2f8e991b94
@ -265,7 +265,7 @@ export function defineNuxtLink (options: NuxtLinkOptions) {
|
||||
}
|
||||
|
||||
// Resolves `to` value if it's a route location object
|
||||
// converts `'''` to `null` to prevent the attribute from being added as empty (`href=""`)
|
||||
// converts `""` to `null` to prevent the attribute from being added as empty (`href=""`)
|
||||
const href = typeof to.value === 'object' ? router.resolve(to.value)?.href ?? null : to.value || null
|
||||
|
||||
// Resolves `target` value
|
||||
|
Loading…
Reference in New Issue
Block a user