Parcourir la source

chore: update comment

daiwei il y a 10 mois
Parent
commit
2cd5cf52c3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/runtime-vapor/src/apiCreateIf.ts

+ 1 - 1
packages/runtime-vapor/src/apiCreateIf.ts

@@ -35,7 +35,7 @@ export function createIf(
   } else {
     // if _insertionAnchor is defined, insertionParent contains a static node
     // that should be skipped during hydration.
-    // Advance to the next sibling node to bypass this static node.
+    // Advance to the next sibling node of parent to skip the static node.
     if (_insertionAnchor !== undefined) {
       advanceHydrationNode(_insertionParent!)
     }