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 ad5506f commit 4385790Copy full SHA for 4385790
src/core/componentStructure.js
@@ -55,9 +55,6 @@ class ComponentStructure {
55
return context.index;
56
}
57
58
- if (length === 0) {
59
- return 0;
60
- }
61
const firstDomListElement = getHtmlElementFromNode(defaultNodes[0]);
62
const indexFirstDomListElement = [...domChildren].findIndex(
63
element => element === firstDomListElement
0 commit comments