We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7b81c1 commit 8a349d1Copy full SHA for 8a349d1
packages/runtime/src/component.ts
@@ -49,7 +49,7 @@ const createProxyComponent = (
49
...args: any[]
50
) => {
51
if (type === Fragment) {
52
- type = (_, { slots }) => slots.default()
+ type = (_, { slots }) => (slots.default ? slots.default() : [])
53
props = null
54
}
55
0 commit comments