mirror of https://github.com/vuejs/core.git
chore: update
This commit is contained in:
parent
b7e11639d5
commit
b2efba8ff0
|
@ -1003,9 +1003,5 @@ function isMismatchAllowedForCommentNode(
|
|||
node: Node,
|
||||
{ props }: VNode,
|
||||
): boolean {
|
||||
return (
|
||||
node.nodeType === DOMNodeTypes.COMMENT &&
|
||||
props != null &&
|
||||
hasOwn(props, allowMismatchAttr)
|
||||
)
|
||||
return isComment(node) && props != null && hasOwn(props, allowMismatchAttr)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue