mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-27 19:25:11 +08:00
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:
committed by
Facebook Github Bot 8
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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user