From 7e4c93d65ade762b401f64fa4017680a24a3415b Mon Sep 17 00:00:00 2001 From: Spencer Ahrens Date: Thu, 16 Mar 2017 15:49:54 -0700 Subject: [PATCH] Fix doubled ItemSeparators Summary: Forgot to update these after rename... Reviewed By: yungsters Differential Revision: D4723788 fbshipit-source-id: 8cf7e8de57a23d9ee0a424aa9c0d62ab1cfbbb12 --- Libraries/CustomComponents/Lists/VirtualizedSectionList.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Libraries/CustomComponents/Lists/VirtualizedSectionList.js b/Libraries/CustomComponents/Lists/VirtualizedSectionList.js index 317891c4d..cd4312e96 100644 --- a/Libraries/CustomComponents/Lists/VirtualizedSectionList.js +++ b/Libraries/CustomComponents/Lists/VirtualizedSectionList.js @@ -267,10 +267,8 @@ class VirtualizedSectionList return { childProps: { ...props, - FooterComponent: this.props.ListFooterComponent, - HeaderComponent: this.props.ListHeaderComponent, renderItem: this._renderItem, - SeparatorComponent: undefined, // Rendered with renderItem + ItemSeparatorComponent: undefined, // Rendered with renderItem data: props.sections, getItemCount: () => itemCount, getItem,