chore: fix typo (#764) [ci skip]

This commit is contained in:
djy0
2020-02-25 01:01:26 +08:00
committed by GitHub
parent 047844cfb8
commit c11905fe36
4 changed files with 8 additions and 9 deletions

View File

@@ -126,9 +126,9 @@ export function isStaticNode(
return false
}
}
// only svg/foeignObject could be block here, however if they are static
// only svg/foreignObject could be block here, however if they are static
// then they don't need to be blocks since there will be no nested
// udpates.
// updates.
if (codegenNode.isBlock) {
codegenNode.isBlock = false
}