Skip to content

Commit

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

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

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D52907508
  • Loading branch information
fabriziocucci authored and facebook-github-bot committed Jan 19, 2024
1 parent fd0ca4d commit 73bbb35
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 73bbb35

Please sign in to comment.