Skip to content

Commit 4385790

Browse files
Removing unaccessible branch
1 parent ad5506f commit 4385790

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/core/componentStructure.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ class ComponentStructure {
5555
return context.index;
5656
}
5757

58-
if (length === 0) {
59-
return 0;
60-
}
6158
const firstDomListElement = getHtmlElementFromNode(defaultNodes[0]);
6259
const indexFirstDomListElement = [...domChildren].findIndex(
6360
element => element === firstDomListElement

0 commit comments

Comments
 (0)