Skip to content

Commit

Permalink
chore: remove unused args passed to ssrRender
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 5, 2023
1 parent 05f94cf commit 2a9e379
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions packages/server-renderer/src/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,7 @@ function renderComponentSubTree(
// set current rendering instance for asset resolution
const prev = setCurrentRenderingInstance(instance)
try {
ssrRender(
instance.proxy,
push,
instance,
attrs,
// compiler-optimized bindings
instance.props,
instance.setupState,
instance.data,
instance.ctx
)
ssrRender(instance.proxy, push, instance, attrs)
} finally {
setCurrentRenderingInstance(prev)
}
Expand Down

0 comments on commit 2a9e379

Please sign in to comment.