Skip to content

Commit dba7cce

Browse files
committed
Initial state is useless
1 parent fd77345 commit dba7cce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ var CollectionView = React.createClass({
2828

2929
return itemsGroups;
3030
},
31-
getInitialState: function() {
32-
return {items: [], renderItem: null, style: undefined, itemsPerRow: 1, onEndReached: undefined};
33-
},
3431
renderGroup: function(group) {
3532
var that = this;
3633
var items = group.map(function(item, index) {

0 commit comments

Comments
 (0)