chore: fix componentRenderUtils.ts comment typo (#790) [ci skip]

This commit is contained in:
火石 2020-03-04 00:05:07 +08:00 committed by GitHub
parent e6ef52c3f8
commit 27afbaf02d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ export function renderComponentRoot(
}
try {
if (vnode.shapeFlag & ShapeFlags.STATEFUL_COMPONENT) {
// withProxy is a proxy with a diffrent `has` trap only for
// withProxy is a proxy with a different `has` trap only for
// runtime-compiled render functions using `with` block.
const proxyToUse = withProxy || proxy
result = normalizeVNode(