Skip to content

Commit 1b3767e

Browse files
committed
chore: update doc
1 parent 84cd14b commit 1b3767e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/runtime/src/component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const createProxyComponent = (
5454
}
5555

5656
const i = getCurrentInstance()
57-
// @ts-ignore
57+
// @ts-ignore #24
5858
if (!type.__proxyed) {
5959
if (typeof type === 'function') {
6060
type = new Proxy(type, {
@@ -80,9 +80,9 @@ const createProxyComponent = (
8080
},
8181
})
8282
}
83+
// @ts-ignore
84+
type.__proxyed = true
8385
}
84-
// @ts-ignore
85-
type.__proxyed = true
8686

8787
return createComponent(type as VaporComponent, props, ...args)
8888
}

0 commit comments

Comments
 (0)