Skip to content

Commit

Permalink
Fix typo in array indexing (#68)
Browse files Browse the repository at this point in the history
Thanks!
  • Loading branch information
suriya authored and davidguttman committed Dec 24, 2018
1 parent 8e237cf commit 8ee1abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pivot-table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ module.exports = createReactClass({
parentRows.unshift(results[i])
boundaryLevel = results[i]._level
}
if (results[i._level === 9]) break
if (results[i]._level === 9) break
}
}

Expand Down

0 comments on commit 8ee1abc

Please sign in to comment.