Skip to content

Commit 8ee1abc

Browse files
suriyadavidguttman
authored andcommitted
Fix typo in array indexing (#68)
Thanks!
1 parent 8e237cf commit 8ee1abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pivot-table.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ module.exports = createReactClass({
176176
parentRows.unshift(results[i])
177177
boundaryLevel = results[i]._level
178178
}
179-
if (results[i._level === 9]) break
179+
if (results[i]._level === 9) break
180180
}
181181
}
182182

0 commit comments

Comments
 (0)