Drop stale comment in VirtualizedList (#42395)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/42395

T46547044 has been closed and apparently `React.warn` was removed in [#16126](https://github.com/facebook/react/pull/16126).

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D52907508

fbshipit-source-id: a3621d876f904339791ab184a904e81f7a50b988
This commit is contained in:
Fabrizio Cucci
2024-01-19 10:38:46 -08:00
committed by Facebook GitHub Bot
parent 3d09b6f850
commit 9bd69d329a
@@ -1135,7 +1135,6 @@ class VirtualizedList extends StateSafePureComponent<Props, State> {
this.context == null &&
this.props.scrollEnabled !== false
) {
// TODO (T46547044): use React.warn once 16.9 is sync'd: https://github.com/facebook/react/pull/15170
console.error(
'VirtualizedLists should never be nested inside plain ScrollViews with the same ' +
'orientation because it can break windowing and other functionality - use another ' +