Skip to content

Commit 8fa28ad

Browse files
committed
feat: normalize setup-fn result
1 parent b0b3e35 commit 8fa28ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/src/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const createProxyComponent = (
7676
} else if (type.__vapor && type.setup) {
7777
type.setup = new Proxy(type.setup, {
7878
apply(target, ctx, args) {
79-
return Reflect.apply(target, ctx, args)
79+
return normalizeNode(Reflect.apply(target, ctx, args))
8080
},
8181
})
8282
}

0 commit comments

Comments
 (0)