Skip to content

Commit

Permalink
fix: synchronize Vue 2 & 3 component behaviour (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
HigherOrderLogic authored Sep 14, 2024
1 parent 3c1c680 commit f66b0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/component.vue2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
},
render(createElement, { data, props, children, slots }) {
// transform props for <client-only>
if (slots.placeholder) {
if (!props.placeholder && slots.placeholder) {
props = {
placeholderTag: props.placeholderTag,
}
Expand Down

0 comments on commit f66b0d5

Please # to comment.