We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee8c5be commit 4db35b1Copy full SHA for 4db35b1
packages/runtime-vapor/src/dom/hydration.ts
@@ -186,7 +186,7 @@ export function locateFragmentAnchor(
186
label: string,
187
): Comment | null {
188
while (node && node.nodeType === 8) {
189
- if (isComment(node, label)) return node
+ if ((node as Comment).data === label) return node as Comment
190
node = node.nextSibling!
191
}
192
return null
0 commit comments