Skip to content

Commit 2f8e991

Browse files
committed
chore: fix typo in code comment
1 parent d282fcd commit 2f8e991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/src/app/components/nuxt-link.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ export function defineNuxtLink (options: NuxtLinkOptions) {
265265
}
266266

267267
// Resolves `to` value if it's a route location object
268-
// converts `'''` to `null` to prevent the attribute from being added as empty (`href=""`)
268+
// converts `""` to `null` to prevent the attribute from being added as empty (`href=""`)
269269
const href = typeof to.value === 'object' ? router.resolve(to.value)?.href ?? null : to.value || null
270270

271271
// Resolves `target` value

0 commit comments

Comments
 (0)