Skip to content

Commit

Permalink
fix: backport vuejs/vitepress#4185
Browse files Browse the repository at this point in the history
  • Loading branch information
rileychh committed Sep 7, 2024
1 parent bcbb57c commit 9930628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/VPButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const props = withDefaults(defineProps<Props>(), {
})
const component = computed(() => {
return props.tag || props.href ? 'a' : 'button'
return props.tag || (props.href ? 'a' : 'button')
})
</script>

Expand Down

0 comments on commit 9930628

Please sign in to comment.