[MovieApp] Add key to image components inside of MovieCell.
Summary: Closes https://github.com/facebook/react-native/pull/2065 Github Author: Christopher <hello@blick-labs.com>
This commit is contained in:
parent
aefb3d3628
commit
3fa3963465
|
@ -262,6 +262,7 @@ var SearchScreen = React.createClass({
|
||||||
) {
|
) {
|
||||||
return (
|
return (
|
||||||
<MovieCell
|
<MovieCell
|
||||||
|
key={movie.id}
|
||||||
onSelect={() => this.selectMovie(movie)}
|
onSelect={() => this.selectMovie(movie)}
|
||||||
onHighlight={() => highlightRowFunc(sectionID, rowID)}
|
onHighlight={() => highlightRowFunc(sectionID, rowID)}
|
||||||
onUnhighlight={() => highlightRowFunc(null, null)}
|
onUnhighlight={() => highlightRowFunc(null, null)}
|
||||||
|
|
Loading…
Reference in New Issue