Skip to content

Commit 623f1e0

Browse files
jeffmofacebook-github-bot
authored andcommitted
fbobjc
Reviewed By: gabelevi Differential Revision: D4652687 fbshipit-source-id: 6069c8bc24f0b88da3537ada877cdb7d1d4eccfd
1 parent 65d6578 commit 623f1e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

UIExplorer/js/CameraRollView.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ var propTypes = {
8181
};
8282

8383
var CameraRollView = React.createClass({
84+
// $FlowFixMe(>=0.41.0)
8485
propTypes: propTypes,
8586

8687
getDefaultProps: function(): Object {
@@ -123,6 +124,7 @@ var CameraRollView = React.createClass({
123124
rendererChanged: function() {
124125
var ds = new ListView.DataSource({rowHasChanged: this._rowHasChanged});
125126
this.state.dataSource = ds.cloneWithRows(
127+
// $FlowFixMe(>=0.41.0)
126128
groupByEveryN(this.state.assets, this.props.imagesPerRow)
127129
);
128130
},
@@ -209,6 +211,7 @@ var CameraRollView = React.createClass({
209211
if (image === null) {
210212
return null;
211213
}
214+
// $FlowFixMe(>=0.41.0)
212215
return this.props.renderImage(image);
213216
});
214217

@@ -231,6 +234,7 @@ var CameraRollView = React.createClass({
231234
newState.lastCursor = data.page_info.end_cursor;
232235
newState.assets = this.state.assets.concat(assets);
233236
newState.dataSource = this.state.dataSource.cloneWithRows(
237+
// $FlowFixMe(>=0.41.0)
234238
groupByEveryN(newState.assets, this.props.imagesPerRow)
235239
);
236240
}

0 commit comments

Comments
 (0)