Skip to content

Commit f66b0d5

Browse files
fix: synchronize Vue 2 & 3 component behaviour (#285)
1 parent 3c1c680 commit f66b0d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/component.vue2.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
},
1414
render(createElement, { data, props, children, slots }) {
1515
// transform props for <client-only>
16-
if (slots.placeholder) {
16+
if (!props.placeholder && slots.placeholder) {
1717
props = {
1818
placeholderTag: props.placeholderTag,
1919
}

0 commit comments

Comments
 (0)