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:
parent
2c0f345cb8
commit
58db9f3996
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue