Skip to content

Commit 99f3c4b

Browse files
authored
updated virtualizedCell.cellKey (#6)
1 parent 26ac64a commit 99f3c4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/GridList/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default class GridList extends PureComponent {
101101
}
102102
}
103103

104-
_keyExtractor = (item, index) => index;
104+
_keyExtractor = (item, index) => index.toString();
105105

106106
renderItem = ({ item, index }) => {
107107
const { showAnimation, showSeparator, itemStyle } = this.props;

0 commit comments

Comments
 (0)