Skip to content

Commit

Permalink
Fix 'iterator must have unique key' warning on pivoting tables. (#56) (
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronschwartz authored and tannerlinsley committed Feb 7, 2017
1 parent 1e4f838 commit e11fdab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ export default React.createClass({
if (column.pivotColumns) {
return (
<ThComponent
key={i}
className={classnames(
'rt-pivot-header',
classes
Expand Down Expand Up @@ -660,6 +661,7 @@ export default React.createClass({
const PivotCell = column.pivotRender
return (
<TdComponent
key={i2}
className={classnames(
'rt-pivot',
classes
Expand Down

0 comments on commit e11fdab

Please sign in to comment.