Skip to content

Commit e19d2cf

Browse files
DevmateXplatFlowFixMeFBFoundation Botfacebook-github-bot
authored andcommitted
xplat/js/tools/validate-haste/validate-haste.js
Differential Revision: D122032728
1 parent d7ff82e commit e19d2cf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎packages/react-native/Libraries/Lists/FlatList.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,7 @@ class FlatList<ItemT = any> extends React.PureComponent<FlatListProps<ItemT>> {
451451
}
452452
}
453453

454-
// $FlowFixMe[missing-local-annot]
455-
componentDidUpdate(prevProps: FlatListProps<ItemT>) {
454+
componentDidUpdate(prevProps: FlatListProps<ItemT>): void {
456455
invariant(
457456
prevProps.numColumns === this.props.numColumns,
458457
'Changing numColumns on the fly is not supported. Change the key prop on FlatList when ' +

0 commit comments

Comments
 (0)