diff --git a/packages/core/src/createRenderer.ts b/packages/core/src/createRenderer.ts index 4eb75d0e..d737ea1a 100644 --- a/packages/core/src/createRenderer.ts +++ b/packages/core/src/createRenderer.ts @@ -235,7 +235,7 @@ export function createRenderer(options: RendererOptions) { ) { const { tag, data, slots } = vnode const render = tag as FunctionalComponent - const { props, attrs } = resolveProps(data, render.props, render) + const { props, attrs } = resolveProps(data, render.props) const subTree = (vnode.children = normalizeComponentRoot( render(props, slots || EMPTY_OBJ, attrs || EMPTY_OBJ), vnode, @@ -523,7 +523,7 @@ export function createRenderer(options: RendererOptions) { } if (shouldUpdate) { - const { props, attrs } = resolveProps(nextData, render.props, render) + const { props, attrs } = resolveProps(nextData, render.props) const nextTree = (nextVNode.children = normalizeComponentRoot( render(props, nextSlots || EMPTY_OBJ, attrs || EMPTY_OBJ), nextVNode,