[fix] Remove StyleSheet.compose(a, b) in FlatList

Close #2555
Fix #2554
This commit is contained in:
berkcoker
2023-07-16 09:36:14 -07:00
committed by Nicolas Gallagher
parent 9d7dca1204
commit 3babcc4587

View File

@@ -627,7 +627,7 @@ class FlatList<ItemT> extends React.PureComponent<Props<ItemT>, void> {
'Expected array of items with numColumns > 1',
);
return (
<View style={StyleSheet.compose(styles.row, columnWrapperStyle)}>
<View style={[styles.row, columnWrapperStyle]}>
{item.map((it, kk) => {
const element = render({
// $FlowFixMe[incompatible-call]