Skip to content

Commit 51f28bf

Browse files
committed
fix(theme): fix feature component always generating anchor tags
1 parent 74d9ba2 commit 51f28bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/theme-default/components/VPLink.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const props = defineProps<{
1111
rel?: string
1212
}>()
1313
14-
const tag = computed(() => props.tag ?? props.href ? 'a' : 'span')
14+
const tag = computed(() => props.tag ?? (props.href ? 'a' : 'span'))
1515
const isExternal = computed(() => props.href && EXTERNAL_URL_RE.test(props.href))
1616
</script>
1717

0 commit comments

Comments
 (0)