Selaa lähdekoodia

chore: update comment

daiwei 10 kuukautta sitten
vanhempi
commit
2cd5cf52c3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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!)
     }