{isVirtualized ? (
- this.renderVirtualizedList(heightIsFull, optionArray)
+ this.renderVirtualizedList()
) : (
- {optionArray.map((_, index) =>
+ {this.state.optionArray.map((_, index) =>
React.createElement(
this.ListRow,
{
key: index,
- data: optionArray,
+ data: this.state.optionArray,
index,
},
null