We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94a3313 commit 2289052Copy full SHA for 2289052
demo/src/screens/MainScreen.js
@@ -329,15 +329,14 @@ export default class MainScreen extends Component {
329
}
330
331
renderSearchResults(data) {
332
- const {renderItem} = this.props;
333
const flatData = _.flatMap(data);
334
335
return (
336
<FlatList
337
keyboardShouldPersistTaps="always"
338
data={flatData}
339
keyExtractor={(item, index) => index.toString()}
340
- renderItem={renderItem || this.renderItem}
+ renderItem={this.renderItem}
341
/>
342
);
343
0 commit comments