Skip to content

Commit d975e32

Browse files
committed
fix: Fix JS lint issues
1 parent aea4d92 commit d975e32

File tree

1 file changed

+4
-1
lines changed
  • packages/components/bolt-list/src

1 file changed

+4
-1
lines changed

packages/components/bolt-list/src/list.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ class BoltList extends withContext(withLitHtml()) {
107107
}
108108
});
109109

110-
if (updatedDefaultSlot[updatedDefaultSlot.length - 1].attributes.length === 0) {
110+
if (
111+
updatedDefaultSlot[updatedDefaultSlot.length - 1].attributes.length ===
112+
0
113+
) {
111114
updatedDefaultSlot[updatedDefaultSlot.length - 1].setAttribute(
112115
'last',
113116
'',

0 commit comments

Comments
 (0)