Skip to content

Commit

Permalink
Add key to footer wrapper in WindowedListView
Browse files Browse the repository at this point in the history
Reviewed By: frantic

Differential Revision: D3155113

fb-gh-sync-id: 27d9f8b09e2d162c7537fefd02fc824a1c4709ae
fbshipit-source-id: 27d9f8b09e2d162c7537fefd02fc824a1c4709ae
  • Loading branch information
steveluscher authored and Facebook Github Bot 8 committed Apr 9, 2016
1 parent 2c0f345 commit 58db9f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Libraries/Experimental/WindowedListView.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,9 @@ class WindowedListView extends React.Component {
lastRow === this.props.data.length - 1;
if (this.props.renderFooter) {
rows.push(
<View style={showFooter ? styles.include : styles.remove}>
<View
key="ind-footer"
style={showFooter ? styles.include : styles.remove}>
{this.props.renderFooter()}
</View>
);
Expand Down

0 comments on commit 58db9f3

Please sign in to comment.