Skip to content

Commit 9c5d348

Browse files
authored
fix(theme): respect custom tag prop in VPButton component (#4185)
1 parent 6b4439a commit 9c5d348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const isExternal = computed(
2222
)
2323
2424
const component = computed(() => {
25-
return props.tag || props.href ? 'a' : 'button'
25+
return props.tag || (props.href ? 'a' : 'button')
2626
})
2727
</script>
2828

0 commit comments

Comments
 (0)