Skip to content

Commit 728d006

Browse files
Jephuffcooperka
authored andcommitted
🐛 Stub out keyExtractor for EmptyVirtualizedList (#35)
* override keyExtractor for empty list * update snapshots * Remove keyExtractor from regular EmptyListView
1 parent f07a2a0 commit 728d006

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ImmutableVirtualizedList/EmptyVirtualizedList.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ class EmptyVirtualizedList extends PureComponent {
7777
renderItem={() => this.renderItem()}
7878
{...passThroughProps}
7979
immutableData={listData}
80+
keyExtractor={() => 'empty'}
8081
/>
8182
);
8283
}

0 commit comments

Comments
 (0)