Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 13, 2018
1 parent 35dc8c2 commit 7020009
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ function renderAsyncComponent (node, isRoot, context) {
tag
)
if (resolvedNode) {
if (resolvedNode.componnetInstance) {
if (resolvedNode.componentOptions) {
// normal component
renderComponent(resolvedNode, isRoot, context)
} else if (!Array.isArray(resolvedNode)) {
// single return node from functional component
Expand Down

0 comments on commit 7020009

Please sign in to comment.