Skip to content

Commit 73bbb35

Browse files
fabriziocuccifacebook-github-bot
authored andcommitted
Drop stale comment in VirtualizedList (facebook#42395)
Summary: T46547044 has been closed and apparently `React.warn` was removed in [facebook#16126](facebook/react#16126). Changelog: [Internal] Reviewed By: cortinico Differential Revision: D52907508
1 parent fd0ca4d commit 73bbb35

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

packages/virtualized-lists/Lists/VirtualizedList.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,6 @@ class VirtualizedList extends StateSafePureComponent<Props, State> {
11351135
this.context == null &&
11361136
this.props.scrollEnabled !== false
11371137
) {
1138-
// TODO (T46547044): use React.warn once 16.9 is sync'd: https://github.com/facebook/react/pull/15170
11391138
console.error(
11401139
'VirtualizedLists should never be nested inside plain ScrollViews with the same ' +
11411140
'orientation because it can break windowing and other functionality - use another ' +

0 commit comments

Comments
 (0)