diff --git a/src/client/theme-default/components/VPLink.vue b/src/client/theme-default/components/VPLink.vue index daf855089259..426a2544faea 100644 --- a/src/client/theme-default/components/VPLink.vue +++ b/src/client/theme-default/components/VPLink.vue @@ -11,7 +11,7 @@ const props = defineProps<{ rel?: string }>() -const tag = computed(() => props.tag ?? props.href ? 'a' : 'span') +const tag = computed(() => props.tag ?? (props.href ? 'a' : 'span')) const isExternal = computed(() => props.href && EXTERNAL_URL_RE.test(props.href))