Browse Source

chore: remove unused args passed to ssrRender

pull/8032/head
Evan You 2 years ago
parent
commit
2a9e379655
  1. 12
      packages/server-renderer/src/render.ts

12
packages/server-renderer/src/render.ts

@ -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)
}

Loading…
Cancel
Save