Skip to content

Commit

Permalink
Drop stale comment in VirtualizedList (facebook#42395)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#42395

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

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D52907508

fbshipit-source-id: a3621d876f904339791ab184a904e81f7a50b988
  • Loading branch information
fabriziocucci authored and facebook-github-bot committed Jan 19, 2024
1 parent 3d09b6f commit 9bd69d3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/virtualized-lists/Lists/VirtualizedList.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ' +
Expand Down

0 comments on commit 9bd69d3

Please sign in to comment.