Add key to footer wrapper in WindowedListView

Reviewed By: frantic

Differential Revision: D3155113

fb-gh-sync-id: 27d9f8b09e2d162c7537fefd02fc824a1c4709ae
fbshipit-source-id: 27d9f8b09e2d162c7537fefd02fc824a1c4709ae
This commit is contained in:
Steven Luscher 2016-04-08 17:57:49 -07:00 committed by Facebook Github Bot 8
parent 2c0f345cb8
commit 58db9f3996
1 changed files with 3 additions and 1 deletions

View File

@ -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>
);